Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 111.6 kB / 18.14 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 197.2 kB / 21.42 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7637 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 1.108 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8463/0.8483, allocations: 168.7 MB / 1.273 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004552/0.8528, allocations: 1.935 MB / 1.275 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.8553, allocations: 1.153 MB / 1.276 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.8556, allocations: 7.938 kB / 1.276 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006975/0.8563, allocations: 95.61 kB / 1.276 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.8568, allocations: 99.47 kB / 1.276 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007575/0.8575, allocations: 160.1 kB / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.858, allocations: 207.5 kB / 1.276 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.8583, allocations: 43.48 kB / 1.276 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.8585, allocations: 99.55 kB / 1.277 GB, free: 500 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.8587, allocations: 111.6 kB / 1.277 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.8588, allocations: 12 kB / 1.277 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.859, allocations: 59.95 kB / 1.277 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.8591, allocations: 63.77 kB / 1.277 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.8593, allocations: 95.39 kB / 1.277 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.8599, allocations: 258.9 kB / 1.277 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8599, allocations: 4 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8599, allocations: 0 / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.8599, allocations: 0 / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.00139/0.8613, allocations: 0.5605 MB / 1.278 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.8614, allocations: 8.031 kB / 1.278 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.925e-05/0.8614, allocations: 38.75 kB / 1.278 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.004e-05/0.8615, allocations: 36.73 kB / 1.278 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.862, allocations: 279.3 kB / 1.278 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.862, allocations: 11.98 kB / 1.278 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.8621, allocations: 15.94 kB / 1.278 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.8624, allocations: 113.6 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8624, allocations: 3.938 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.8624, allocations: 8 kB / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.8624, allocations: 0 / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.8628, allocations: 87.92 kB / 1.278 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.8635, allocations: 448.4 kB / 1.279 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.8639, allocations: 130.6 kB / 1.279 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.864, allocations: 52.77 kB / 1.279 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.8641, allocations: 7.938 kB / 1.279 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.8644, allocations: 126.1 kB / 1.279 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.8644, allocations: 0 / 1.279 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0007054/0.8651, allocations: 249.3 kB / 1.279 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.8651, allocations: 59.39 kB / 1.279 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.8655, allocations: 318.6 kB / 1.28 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.8655, allocations: 41.69 kB / 1.28 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.8657, allocations: 136.3 kB / 1.28 GB, free: 13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.8657, allocations: 43.73 kB / 1.28 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.793e-05/0.8658, allocations: 61.69 kB / 1.28 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.866, allocations: 330.8 kB / 1.28 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.8662, allocations: 83.95 kB / 1.28 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.8665, allocations: 141.1 kB / 1.28 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.8669, allocations: 188 kB / 1.281 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8669, allocations: 0 / 1.281 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006066/0.8675, allocations: 277.3 kB / 1.281 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.8675, allocations: 8 kB / 1.281 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8676, allocations: 4.156 kB / 1.281 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8676, allocations: 4 kB / 1.281 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.8678, allocations: 43.91 kB / 1.281 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.8678, allocations: 0 / 1.281 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.8679, allocations: 27.88 kB / 1.281 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.868, allocations: 12 kB / 1.281 GB, free: 11.75 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001698/0.8681, allocations: 157.7 kB / 1.281 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.8682, allocations: 31.77 kB / 1.281 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.8687, allocations: 211.7 kB / 1.281 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8687, allocations: 4 kB / 1.281 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8687, allocations: 0 / 1.281 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.8687, allocations: 0 / 1.281 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.8697, allocations: 0.5551 MB / 1.282 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8697, allocations: 0 / 1.282 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.8697, allocations: 23.98 kB / 1.282 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.8697, allocations: 0 / 1.282 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.8698, allocations: 0 / 1.282 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.8698, allocations: 4 kB / 1.282 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8698, allocations: 0 / 1.282 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.8703, allocations: 299.1 kB / 1.282 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.8703, allocations: 105 kB / 1.282 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.8704, allocations: 4 kB / 1.282 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.8705, allocations: 11.98 kB / 1.282 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.8706, allocations: 19.97 kB / 1.282 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.8706, allocations: 15.88 kB / 1.282 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002198/0.8708, allocations: 206 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8708, allocations: 0 / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003267/0.8712, allocations: 51.92 kB / 1.283 GB, free: 9.961 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002313/0.8735, allocations: 1.143 MB / 1.284 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.874, allocations: 184.3 kB / 1.284 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.874, allocations: 3.938 kB / 1.284 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.8742, allocations: 63.89 kB / 1.284 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.8746, allocations: 51.11 kB / 1.284 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.8783, allocations: 2.589 MB / 1.286 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.8787, allocations: 0.748 MB / 1.287 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.8788, allocations: 33.92 kB / 1.287 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.8789, allocations: 75.41 kB / 1.287 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.8789, allocations: 0 / 1.287 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.9102, allocations: 5.482 MB / 1.293 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/9.204, allocations: 10.66 kB / 1.293 GB, free: 15.65 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.335858033969998]