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.009361/0.009361, allocations: 96.8 kB / 15.73 MB, free: 5.547 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.001928/0.001928, allocations: 190 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, 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 2.435/2.435, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9304, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003134/0.9336, allocations: 1.917 MB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.9354, allocations: 1.123 MB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.9355, allocations: 1.375 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.9359, allocations: 95.03 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.9362, allocations: 93.55 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.9366, allocations: 167.9 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.9369, allocations: 209.4 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.9371, allocations: 60.73 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.9373, allocations: 99.16 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.9375, allocations: 107.1 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.9375, allocations: 12.28 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.9376, allocations: 55.22 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.9377, allocations: 66.84 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.9378, allocations: 92.94 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.9383, allocations: 264.9 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9383, allocations: 0 / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9383, allocations: 3.938 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9383, allocations: 0.7188 kB / 1.092 GB, free: 2.555 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.0009486/0.9393, allocations: 0.547 MB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.9393, allocations: 9.469 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.9394, allocations: 49.08 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.9394, allocations: 24.22 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.9398, allocations: 290.6 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.9398, allocations: 8.938 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.9399, allocations: 12.7 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.9402, allocations: 125.4 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9402, allocations: 3.938 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.9402, allocations: 5.531 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9402, allocations: 6.281 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.9405, allocations: 90.06 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.9412, allocations: 451 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.9416, allocations: 129.9 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.9417, allocations: 57.67 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.9418, allocations: 2.938 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.9421, allocations: 130.7 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.9421, allocations: 4 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.000716/0.9428, allocations: 246.5 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.9428, allocations: 54.8 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.9433, allocations: 327.1 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.9433, allocations: 33.33 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.9434, allocations: 134.4 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.9434, allocations: 45.59 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.9435, allocations: 62.64 kB / 1.094 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.9436, allocations: 333.2 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.9438, allocations: 84.11 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.9441, allocations: 137.9 kB / 1.095 GB, free: 160 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.9445, allocations: 184.2 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9445, allocations: 0.7188 kB / 1.095 GB, free: 56 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006606/0.9452, allocations: 284 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.9452, allocations: 8.094 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.9452, allocations: 6.453 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9452, allocations: 2.625 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.9455, allocations: 45.7 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9455, allocations: 3.75 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.9457, allocations: 22.64 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.9457, allocations: 13.08 kB / 1.096 GB, free: 15.91 MB / 0.8731 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.0001815/0.9459, allocations: 158.6 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.9459, allocations: 21.91 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.946, allocations: 26.56 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.946, allocations: 1.344 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.946, allocations: 4 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.946, allocations: 5.781 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009441/0.947, allocations: 0.5501 MB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.947, allocations: 0.7031 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.9471, allocations: 18.38 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.9471, allocations: 0.9688 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.9471, allocations: 6.922 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.9471, allocations: 4.5 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9471, allocations: 4.594 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.9477, allocations: 293.8 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.9478, allocations: 103.2 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.9478, allocations: 7.172 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.948, allocations: 15.89 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.9481, allocations: 16.59 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.9481, allocations: 10.47 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002488/0.9484, allocations: 209.6 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9484, allocations: 0 / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003486/0.9487, allocations: 54.12 kB / 1.097 GB, free: 14.9 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.00166/0.9504, allocations: 1.141 MB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.9509, allocations: 185.7 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9509, allocations: 4.312 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.9511, allocations: 76.08 kB / 1.098 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.9516, allocations: 58.73 kB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.9551, allocations: 2.57 MB / 1.101 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.9555, allocations: 0.7497 MB / 1.102 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.9556, allocations: 33.02 kB / 1.102 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.9557, allocations: 74.58 kB / 1.102 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9557, allocations: 0 / 1.102 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.9805, allocations: 5.443 MB / 1.107 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/9.014, allocations: 1.469 kB / 1.107 GB, free: 10.69 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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