Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007845/0.007845, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001345/0.001345, allocations: 186.7 kB / 16.67 MB, free: 5.969 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.991/2.991, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 71.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4177, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004627/0.4224, allocations: 1.997 MB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.4249, allocations: 1.189 MB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.4252, allocations: 4 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.4258, allocations: 163.4 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.4264, allocations: 159.4 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.4271, allocations: 221.7 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.4277, allocations: 307.2 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.428, allocations: 48.38 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.4283, allocations: 155.4 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.4286, allocations: 151.4 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.4287, allocations: 12 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.4289, allocations: 63.97 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.429, allocations: 87.67 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.4292, allocations: 127.1 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.4298, allocations: 366.7 kB / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.4298, allocations: 0 / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4298, allocations: 0 / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.4298, allocations: 4 kB / 1.213 GB, free: 4.605 MB / 0.9669 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.001293/0.4311, allocations: 0.6224 MB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4312, allocations: 8.625 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.4313, allocations: 32.56 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.432, allocations: 378 kB / 1.214 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.432, allocations: 8 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.4321, allocations: 8 kB / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.4323, allocations: 115.3 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4324, allocations: 0 / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4324, allocations: 0 / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4324, allocations: 0 / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.4326, allocations: 67.86 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.4335, allocations: 0.4925 MB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.4339, allocations: 134.8 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.434, allocations: 48.84 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.4341, allocations: 7.938 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.4344, allocations: 122.4 kB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.4344, allocations: 0 / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005967/0.435, allocations: 217.3 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.435, allocations: 55.41 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.4357, allocations: 0.5054 MB / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.4358, allocations: 29.7 kB / 1.215 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.4359, allocations: 164.4 kB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.436, allocations: 35.62 kB / 1.216 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.4361, allocations: 77.88 kB / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4363, allocations: 346.8 kB / 1.216 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.4365, allocations: 104.5 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4368, allocations: 135.6 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.4372, allocations: 184.3 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4372, allocations: 0 / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005792/0.4377, allocations: 313.1 kB / 1.217 GB, free: 216 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4378, allocations: 11.94 kB / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4378, allocations: 0 / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4378, allocations: 3.938 kB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.4381, allocations: 55.91 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4381, allocations: 0 / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.4382, allocations: 23.98 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.4383, allocations: 8 kB / 1.217 GB, free: 112 kB / 0.9669 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.0001962/0.4385, allocations: 177.8 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.4385, allocations: 43.45 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.4386, allocations: 35.12 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4386, allocations: 4 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4386, allocations: 3.938 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4387, allocations: 0 / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.439, allocations: 301.4 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.439, allocations: 4 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.4391, allocations: 8 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.4391, allocations: 3.938 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.4391, allocations: 11.98 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4391, allocations: 0 / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4391, allocations: 0 / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.4395, allocations: 204.6 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.4396, allocations: 116.7 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.4397, allocations: 11.94 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.4398, allocations: 11.98 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.4399, allocations: 19.92 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4399, allocations: 11.98 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003474/0.4402, allocations: 311.1 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4402, allocations: 0 / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003672/0.4406, allocations: 51.98 kB / 1.218 GB, free: 14.71 MB / 0.9825 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.001084/0.4417, allocations: 428.3 kB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005048/0.4422, allocations: 191.8 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4422, allocations: 0 / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.4424, allocations: 63.91 kB / 1.219 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.4429, allocations: 98.17 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.4438, allocations: 0.5239 MB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.4441, allocations: 0.783 MB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.4443, allocations: 54.94 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.4444, allocations: 39.42 kB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.4444, allocations: 0 / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of Templates: time 0.009559/0.4539, allocations: 4.19 MB / 1.224 GB, free: 8.496 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches