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.0009646/0.0009644, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007378/0.007378, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.601/1.601, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.14/3.14, allocations: 462.7 MB / 0.7364 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 9.094 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4389, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003/0.4419, allocations: 1.698 MB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.4447, allocations: 1.173 MB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.4449, allocations: 4 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.4455, allocations: 151.6 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.446, allocations: 139.5 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007995/0.4468, allocations: 203.4 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.4474, allocations: 287.2 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.4476, allocations: 48.38 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.4479, allocations: 131.3 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.4482, allocations: 139.4 kB / 1.063 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.4483, allocations: 4 kB / 1.063 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.4485, allocations: 51.91 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.4486, allocations: 75.73 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.4488, allocations: 144.8 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.4494, allocations: 347 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4494, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.759e-06/0.4494, allocations: 0 / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.4494, allocations: 3.938 kB / 1.063 GB, free: 0.8555 MB / 0.8106 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.001078/0.4505, allocations: 0.5643 MB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4505, allocations: 8.031 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.4507, allocations: 32.56 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/0.4513, allocations: 386 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4513, allocations: 8 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.4514, allocations: 8 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.4516, allocations: 105.6 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4517, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4517, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.4517, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.4519, allocations: 59.95 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.4529, allocations: 0.4964 MB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.4534, allocations: 134.7 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.4535, allocations: 48.84 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.4536, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.4539, allocations: 115.3 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.4539, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005585/0.4544, allocations: 225.3 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.4545, allocations: 55.41 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/0.4551, allocations: 0.5131 MB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4552, allocations: 25.7 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4553, allocations: 164.4 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.4554, allocations: 43.53 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.4555, allocations: 33.7 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4557, allocations: 346.8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.4559, allocations: 96.52 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.4562, allocations: 139.6 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.4565, allocations: 183 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4566, allocations: 0 / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006363/0.4572, allocations: 321.1 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4572, allocations: 8.062 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4572, allocations: 3.938 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4573, allocations: 4 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.4575, allocations: 47.91 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4575, allocations: 4 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.4577, allocations: 23.83 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.4577, allocations: 12 kB / 1.067 GB, free: 12.44 MB / 0.8262 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.0003352/0.4581, allocations: 177.8 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.4581, allocations: 39.61 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/0.4582, allocations: 39.05 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4582, allocations: 4 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4582, allocations: 4 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4582, allocations: 0 / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.4585, allocations: 305.4 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4586, allocations: 0 / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.4586, allocations: 8 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4586, allocations: 0 / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.4587, allocations: 11.92 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4587, allocations: 4 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4587, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.459, allocations: 208.5 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4592, allocations: 116.7 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.4592, allocations: 15.86 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.4593, allocations: 4 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.4594, allocations: 19.97 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.4594, allocations: 8 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003491/0.4598, allocations: 315.1 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4598, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003301/0.4601, allocations: 56 kB / 1.068 GB, free: 11.04 MB / 0.8262 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.001065/0.4612, allocations: 419.6 kB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.4616, allocations: 191.9 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4616, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.4618, allocations: 59.97 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.4622, allocations: 86.75 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/0.4632, allocations: 0.6049 MB / 1.07 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.4636, allocations: 0.7989 MB / 1.071 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.4637, allocations: 50.94 kB / 1.071 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4639, allocations: 31.42 kB / 1.071 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4639, allocations: 4 kB / 1.071 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of Templates: time 0.008248/0.4721, allocations: 3.821 MB / 1.074 GB, free: 5.133 MB / 0.8262 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