Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007926/0.0007926, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008509/0.0008509, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8878/0.8878, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.277e-06/3.277e-06, allocations: 4 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.57e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002142/0.002158, allocations: 1.898 MB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003423, allocations: 1.219 MB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.003512, allocations: 3.938 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.003819, allocations: 87.58 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.004097, allocations: 143.3 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.004284, allocations: 135.4 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.0045, allocations: 231.4 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004623, allocations: 29.78 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.004756, allocations: 147.5 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.004859, allocations: 87.77 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.004885, allocations: 16 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.004971, allocations: 55.91 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.005034, allocations: 63.75 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.005084, allocations: 51.86 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.005336, allocations: 283 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005337, allocations: 0 / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.31e-07/0.005338, allocations: 0 / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.005342, allocations: 0 / 1.004 GB, free: 9.055 MB / 0.9636 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.0006038/0.005946, allocations: 492.9 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.005985, allocations: 8.75 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.006019, allocations: 42.73 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.00606, allocations: 28.75 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.006332, allocations: 232.7 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.006345, allocations: 8 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.006359, allocations: 12 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.006554, allocations: 119.9 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.006561, allocations: 0 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006572, allocations: 7.984 kB / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.006578, allocations: 11.88 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.006734, allocations: 83.92 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.007213, allocations: 395.8 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.007416, allocations: 122.6 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.007498, allocations: 60.81 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.007513, allocations: 4 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.007687, allocations: 123.3 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.007688, allocations: 0 / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0003878/0.008075, allocations: 263.8 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.008107, allocations: 59.41 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.008472, allocations: 337.8 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.008488, allocations: 29.7 kB / 1.006 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.008553, allocations: 132.6 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.008583, allocations: 47.67 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.008642, allocations: 57.69 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.008721, allocations: 334.8 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.008846, allocations: 83.95 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.00898, allocations: 137 kB / 1.007 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.0092, allocations: 195.6 kB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009202, allocations: 3.938 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003072/0.009509, allocations: 285.2 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.009523, allocations: 11.94 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.009527, allocations: 0 / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.009541, allocations: 4 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.009648, allocations: 43.97 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.009655, allocations: 3.938 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.009725, allocations: 27.88 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.009743, allocations: 16.14 kB / 1.008 GB, free: 5.082 MB / 0.9636 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.0001007/0.009844, allocations: 157.8 kB / 1.008 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.009867, allocations: 31.78 kB / 1.008 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.01014, allocations: 213.5 kB / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01014, allocations: 0 / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01015, allocations: 0 / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01015, allocations: 0 / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.01061, allocations: 0.5248 MB / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01061, allocations: 0 / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.01066, allocations: 15.98 kB / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01066, allocations: 0 / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01067, allocations: 11.98 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01067, allocations: 3.984 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01067, allocations: 0 / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.01093, allocations: 317.6 kB / 1.009 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.01095, allocations: 27.84 kB / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.01097, allocations: 4 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.01104, allocations: 19.98 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.01109, allocations: 15.97 kB / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.0111, allocations: 4 kB / 1.009 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000138/0.01124, allocations: 217.2 kB / 1.009 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01124, allocations: 0 / 1.009 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001956/0.01143, allocations: 47.94 kB / 1.009 GB, free: 3.418 MB / 0.9636 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 (17): * Single equations (assignments): 12 * 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.001013/0.01244, allocations: 1.191 MB / 1.01 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.01271, allocations: 179.8 kB / 1.011 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01271, allocations: 320 / 1.011 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.986e-05/0.01281, allocations: 71.94 kB / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01306, allocations: 57.12 kB / 1.011 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.0152, allocations: 2.641 MB / 1.013 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.01543, allocations: 141.2 kB / 1.013 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.653e-05/0.01551, allocations: 37.94 kB / 1.013 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.01559, allocations: 80.47 kB / 1.013 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of SimCode: time 2.9e-07/0.01559, allocations: 3.938 kB / 1.013 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.03205, allocations: 6.532 MB / 1.02 GB, free: 8.609 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.703, allocations: 10.17 kB / 1.02 GB, free: 8.602 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.720381705090404]