Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 183 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.8167, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002927/0.8197, allocations: 2 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.8214, allocations: 1.204 MB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.8216, allocations: 2.969 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.822, allocations: 156.3 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.8224, allocations: 153.3 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.8229, allocations: 220.9 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.8233, allocations: 316 kB / 1.093 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.8235, allocations: 48.38 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.8237, allocations: 156.2 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.824, allocations: 153.4 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.824, allocations: 13.97 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.8242, allocations: 55.05 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.8243, allocations: 87.47 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.8244, allocations: 127.7 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.8248, allocations: 363.1 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8249, allocations: 0.625 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8249, allocations: 0.6094 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.8249, allocations: 1.25 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008611/0.8257, allocations: 0.6287 MB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.8258, allocations: 9.438 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.8259, allocations: 31.72 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.8264, allocations: 375.9 kB / 1.095 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.8264, allocations: 3.719 kB / 1.095 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.8264, allocations: 10.23 kB / 1.095 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.8267, allocations: 108.6 kB / 1.095 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.8267, allocations: 4.5 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.8267, allocations: 9.359 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.8267, allocations: 2.031 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.8269, allocations: 58.53 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007588/0.8277, allocations: 498.7 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.8281, allocations: 135.5 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.8282, allocations: 48.09 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.8282, allocations: 1.969 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.8284, allocations: 120.2 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.8285, allocations: 4.547 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000575/0.829, allocations: 224.8 kB / 1.096 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.8291, allocations: 54.2 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.8297, allocations: 0.5093 MB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.8297, allocations: 27.86 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.8299, allocations: 166.8 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.8299, allocations: 38.36 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.83, allocations: 71 kB / 1.097 GB, free: 400 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.8301, allocations: 352 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.8303, allocations: 101 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.8306, allocations: 136.1 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.831, allocations: 180.7 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.831, allocations: 4 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006193/0.8316, allocations: 321.7 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8316, allocations: 9.859 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8316, allocations: 1.125 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8317, allocations: 2.156 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.8319, allocations: 50.06 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.8319, allocations: 1.875 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.8321, allocations: 20.41 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.8321, allocations: 12.84 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.8323, allocations: 185 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.8324, allocations: 33.56 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.8325, allocations: 34.44 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8325, allocations: 2.719 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8325, allocations: 0 / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8325, allocations: 1.641 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.8329, allocations: 298.7 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.8329, allocations: 0 / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.833, allocations: 20.12 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.833, allocations: 9.125 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.833, allocations: 3.703 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.833, allocations: 1.188 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.833, allocations: 0 / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.8334, allocations: 203.6 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.8335, allocations: 111.9 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.8336, allocations: 10.83 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.8337, allocations: 10.64 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.8338, allocations: 20.41 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.8338, allocations: 6.547 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000417/0.8342, allocations: 318.5 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8342, allocations: 3.938 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003312/0.8346, allocations: 58.06 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.8356, allocations: 419.8 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.8361, allocations: 195.1 kB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8361, allocations: 0 / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.8362, allocations: 57.69 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.8367, allocations: 102.4 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.8377, allocations: 0.5482 MB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.8381, allocations: 0.7887 MB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.546e-05/0.8382, allocations: 36.02 kB / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8383, allocations: 0 / 1.101 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of Templates: time 0.008557/0.8468, allocations: 4.435 MB / 1.105 GB, free: 12.98 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches