Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009273/0.009273, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001801/0.001801, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.788/2.788, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.847/4.847, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003174/0.003173, allocations: 71.83 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892/1.895, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00687/1.902, allocations: 1.925 MB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004096/1.906, allocations: 1.127 MB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/1.906, allocations: 0 / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000646/1.907, allocations: 95.52 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005243/1.908, allocations: 95.58 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/1.908, allocations: 156.8 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005224/1.909, allocations: 215.5 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/1.909, allocations: 49.64 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/1.91, allocations: 91.62 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/1.91, allocations: 111.5 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/1.91, allocations: 12 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/1.91, allocations: 51.97 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/1.91, allocations: 59.83 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/1.911, allocations: 91.34 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006818/1.911, allocations: 278.5 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.911, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.116e-06/1.911, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.24e-05/1.911, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 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.001552/1.913, allocations: 0.5527 MB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/1.913, allocations: 8.922 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/1.913, allocations: 38.75 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.936e-05/1.913, allocations: 24.8 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/1.914, allocations: 295.2 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/1.914, allocations: 8 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/1.914, allocations: 15.98 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/1.915, allocations: 113.6 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.915, allocations: 7.922 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/1.915, allocations: 0 / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/1.915, allocations: 4 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/1.915, allocations: 93.73 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/1.917, allocations: 456.4 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/1.917, allocations: 122.7 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/1.918, allocations: 64.81 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/1.918, allocations: 4 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/1.918, allocations: 123.4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.419e-05/1.918, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.001307/1.92, allocations: 255.8 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.92, allocations: 55.41 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007323/1.921, allocations: 326.5 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/1.921, allocations: 33.7 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/1.921, allocations: 140.4 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.921, allocations: 43.69 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/1.921, allocations: 65.69 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002903/1.922, allocations: 330.8 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/1.922, allocations: 83.95 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/1.922, allocations: 137 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/1.923, allocations: 186.3 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.923, allocations: 0 / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001149/1.924, allocations: 277.3 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/1.925, allocations: 8 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.925, allocations: 3.984 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/1.925, allocations: 4 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/1.925, allocations: 39.92 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/1.925, allocations: 7.984 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/1.925, allocations: 32.03 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/1.925, allocations: 8 kB / 1.174 GB, free: 11.3 MB / 0.9044 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.0003401/1.926, allocations: 161.7 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/1.926, allocations: 19.86 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/1.926, allocations: 30.17 kB / 1.174 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/1.926, allocations: 4 kB / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.926, allocations: 0 / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.926, allocations: 0 / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/1.928, allocations: 0.5567 MB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.928, allocations: 3.938 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.928, allocations: 15.98 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.928, allocations: 0 / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/1.928, allocations: 0 / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.928, allocations: 0 / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.928, allocations: 4 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/1.929, allocations: 301.7 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/1.929, allocations: 108.9 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/1.929, allocations: 8 kB / 1.175 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/1.93, allocations: 11.98 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.93, allocations: 19.97 kB / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/1.93, allocations: 15.94 kB / 1.175 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005513/1.93, allocations: 202 kB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.41e-07/1.93, allocations: 0 / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000648/1.931, allocations: 55.92 kB / 1.176 GB, free: 9.703 MB / 0.9044 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.003991/1.935, allocations: 1.13 MB / 1.177 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.936, allocations: 195.5 kB / 1.177 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.936, allocations: 3.938 kB / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/1.937, allocations: 68.27 kB / 1.177 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/1.937, allocations: 56.97 kB / 1.177 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/1.944, allocations: 2.575 MB / 1.18 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/1.945, allocations: 0.748 MB / 1.18 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002711/1.945, allocations: 33.92 kB / 1.18 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.945, allocations: 75.41 kB / 1.18 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of SimCode: time 1.263e-06/1.945, allocations: 4 kB / 1.18 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/2.003, allocations: 5.425 MB / 1.186 GB, free: 15.49 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.48/20.49, allocations: 14.48 kB / 1.186 GB, free: 15.48 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches