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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001102/0.001102, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00147/0.001471, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.039/3.039, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 14.88 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3937, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002482/0.3963, allocations: 1.659 MB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3982, allocations: 1.112 MB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.3984, allocations: 7.938 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.3989, allocations: 143.6 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.3993, allocations: 127.5 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.4, allocations: 190.5 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.4005, allocations: 263.1 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.4008, allocations: 44.3 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.4011, allocations: 127.4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.4013, allocations: 123.5 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.4014, allocations: 4 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.4016, allocations: 47.97 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.4017, allocations: 75.73 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.4018, allocations: 69.52 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.4022, allocations: 287.6 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4022, allocations: 0 / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4022, allocations: 0 / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.4022, allocations: 0 / 1.062 GB, free: 1.012 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.001051/0.4032, allocations: 0.5718 MB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4033, allocations: 8.031 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.4034, allocations: 39.61 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.4041, allocations: 353.3 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.4041, allocations: 7.953 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.4042, allocations: 19.92 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4044, allocations: 105.5 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4044, allocations: 4 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.4045, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4045, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.4047, allocations: 59.95 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.4056, allocations: 496.5 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.4059, allocations: 134.7 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.406, allocations: 48.83 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4061, allocations: 0 / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.4063, allocations: 116.9 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.4064, allocations: 0 / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005652/0.4069, allocations: 221.3 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.407, allocations: 51.41 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.4076, allocations: 0.5093 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4077, allocations: 29.7 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.4078, allocations: 168.3 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.4079, allocations: 43.53 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.4079, allocations: 8 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.408, allocations: 346.8 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.4082, allocations: 96.52 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.4084, allocations: 135.6 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.4086, allocations: 99.98 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4086, allocations: 3.938 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005029/0.4091, allocations: 322.6 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4092, allocations: 8 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4092, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4092, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.4094, allocations: 51.91 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.4094, allocations: 4 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.4096, allocations: 23.89 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.4096, allocations: 15.95 kB / 1.066 GB, free: 12.73 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.4098, allocations: 181.8 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.4099, allocations: 27.62 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.41, allocations: 39.11 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.41, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.41, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.41, allocations: 3.984 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.4103, allocations: 301.4 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4103, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.4103, allocations: 16 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4104, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.4104, allocations: 3.984 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4104, allocations: 8 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4104, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.4107, allocations: 213.8 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/0.4108, allocations: 116.7 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.4109, allocations: 11.98 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.411, allocations: 8 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.4111, allocations: 15.97 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.4111, allocations: 8 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003228/0.4114, allocations: 311.1 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4114, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000292/0.4117, allocations: 59.89 kB / 1.067 GB, free: 11.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/0.4128, allocations: 426.6 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003835/0.4132, allocations: 200.9 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4132, allocations: 0 / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.4133, allocations: 51.97 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4138, allocations: 85.25 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.4147, allocations: 0.5805 MB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.4151, allocations: 0.7833 MB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.4152, allocations: 54.94 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.4153, allocations: 31.42 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4153, allocations: 0 / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of Templates: time 0.008522/0.4238, allocations: 3.726 MB / 1.073 GB, free: 5.559 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