Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_9_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.009247/0.009247, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001763/0.001763, allocations: 199.4 kB / 16.68 MB, free: 5.926 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.582/2.582, 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 9.1.3-maint.9.1.x/package.mo): time 3.965/3.965, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.00268, allocations: 59.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672/1.675, allocations: 140.4 MB / 1.087 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004858/1.68, allocations: 1.923 MB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002638/1.683, allocations: 1.12 MB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/1.683, allocations: 6.125 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005144/1.683, allocations: 89.36 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/1.684, allocations: 94.19 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/1.684, allocations: 154.8 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003822/1.685, allocations: 217.5 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/1.685, allocations: 56.69 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/1.685, allocations: 91.09 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/1.685, allocations: 107.2 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/1.685, allocations: 12.75 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/1.686, allocations: 58.11 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/1.686, allocations: 62.31 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/1.686, allocations: 88.98 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005696/1.687, allocations: 275.7 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.687, allocations: 0.75 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.577e-06/1.687, allocations: 0 / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.687, allocations: 8.562 kB / 1.092 GB, free: 2.777 MB / 0.8575 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.001223/1.688, allocations: 0.5276 MB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.688, allocations: 10.16 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.964e-05/1.688, allocations: 44.89 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/1.688, allocations: 28.42 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/1.689, allocations: 289.3 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/1.689, allocations: 9.266 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/1.689, allocations: 8.344 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/1.689, allocations: 119.3 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.689, allocations: 3.938 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/1.689, allocations: 5.719 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/1.689, allocations: 2.156 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/1.69, allocations: 89.03 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.691, allocations: 455.7 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/1.691, allocations: 136.7 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/1.692, allocations: 58.3 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/1.692, allocations: 2.031 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/1.692, allocations: 127.2 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/1.692, allocations: 0 / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.001126/1.693, allocations: 244.8 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/1.693, allocations: 58.41 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/1.694, allocations: 331 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.694, allocations: 33.66 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/1.694, allocations: 133.6 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/1.694, allocations: 37.88 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/1.694, allocations: 66.8 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/1.694, allocations: 337.7 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/1.695, allocations: 83.53 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/1.695, allocations: 129.5 kB / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/1.696, allocations: 185.2 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.696, allocations: 5.094 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009801/1.697, allocations: 279.2 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.697, allocations: 9.562 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.697, allocations: 6.219 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/1.697, allocations: 6.484 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/1.697, allocations: 37.97 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/1.697, allocations: 11.06 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/1.698, allocations: 26.92 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/1.698, allocations: 12.02 kB / 1.096 GB, free: 160 kB / 0.8575 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.0002936/1.698, allocations: 161.9 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/1.698, allocations: 21.94 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/1.698, allocations: 30.02 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.698, allocations: 1.562 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.698, allocations: 0.7812 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.698, allocations: 4.797 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/1.7, allocations: 0.5504 MB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.7, allocations: 0 / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/1.7, allocations: 14.34 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.7, allocations: 0.875 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.7, allocations: 7.25 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.7, allocations: 0.8438 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.7, allocations: 5.547 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/1.701, allocations: 292.3 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.701, allocations: 98.81 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/1.701, allocations: 4.656 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/1.702, allocations: 16.08 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/1.702, allocations: 24.38 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/1.702, allocations: 9.047 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004223/1.702, allocations: 210.8 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.5e-07/1.702, allocations: 0 / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007378/1.703, allocations: 50.59 kB / 1.097 GB, free: 15.15 MB / 0.8731 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.003563/1.706, allocations: 1.148 MB / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008662/1.707, allocations: 180.3 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.707, allocations: 1.281 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/1.708, allocations: 77.06 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/1.709, allocations: 54.36 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/1.716, allocations: 2.569 MB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/1.717, allocations: 0.7493 MB / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002391/1.717, allocations: 34.2 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/1.717, allocations: 77.16 kB / 1.102 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of SimCode: time 1.162e-06/1.717, allocations: 0.6875 kB / 1.102 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04929/1.766, allocations: 5.433 MB / 1.107 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.94, allocations: 1.25 kB / 1.107 GB, free: 10.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches