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.00124/0.00124, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 75.88 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.5312, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00319/0.5344, allocations: 1.927 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.5361, allocations: 1.127 MB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.5362, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.5366, allocations: 99.56 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.5369, allocations: 87.59 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.5373, allocations: 169.9 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.5375, allocations: 211.4 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.5377, allocations: 41.67 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.5378, allocations: 103.6 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.538, allocations: 99.53 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.538, allocations: 16 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.5381, allocations: 51.97 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.5382, allocations: 59.81 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.5383, allocations: 95.34 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.5386, allocations: 265.4 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5386, allocations: 3.938 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5386, allocations: 4 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5387, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 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.0007897/0.5395, allocations: 0.5336 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5395, allocations: 12.03 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.5395, allocations: 42.73 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.5396, allocations: 24.66 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.5399, allocations: 291.1 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5399, allocations: 16 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.54, allocations: 8 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.5403, allocations: 118.2 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5403, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.5403, allocations: 3.938 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5403, allocations: 7.938 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.5406, allocations: 83.92 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.5412, allocations: 448.5 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.5415, allocations: 134.6 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.5417, allocations: 60.75 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5417, allocations: 7.984 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.542, allocations: 125.6 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.542, allocations: 0 / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006163/0.5426, allocations: 253.2 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.5427, allocations: 55.41 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.543, allocations: 326.5 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.543, allocations: 29.7 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.5431, allocations: 140.4 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.5431, allocations: 39.53 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.5432, allocations: 61.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5433, allocations: 338.8 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.5435, allocations: 83.94 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.5438, allocations: 125.6 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.5441, allocations: 197 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5441, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005224/0.5447, allocations: 281 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5447, allocations: 13.97 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5447, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5447, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.5449, allocations: 47.91 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.5449, allocations: 4.156 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.5451, allocations: 27.92 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.5451, allocations: 11.98 kB / 1.025 GB, free: 9.957 MB / 0.7794 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.0001272/0.5453, allocations: 157.8 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.5453, allocations: 23.66 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.5454, allocations: 30.16 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5454, allocations: 4 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5454, allocations: 0 / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5454, allocations: 4 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.5461, allocations: 0.5467 MB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5461, allocations: 0 / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.5462, allocations: 15.98 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5462, allocations: 0 / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5462, allocations: 3.984 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5462, allocations: 4 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5462, allocations: 4 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.5467, allocations: 295 kB / 1.027 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.5467, allocations: 100.8 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.5468, allocations: 11.98 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.5469, allocations: 19.98 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.547, allocations: 15.98 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.547, allocations: 11.92 kB / 1.027 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001714/0.5472, allocations: 205.9 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5472, allocations: 0 / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003027/0.5475, allocations: 51.98 kB / 1.027 GB, free: 8.379 MB / 0.7794 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.001475/0.549, allocations: 1.139 MB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.5495, allocations: 183.8 kB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5495, allocations: 4.25 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.5497, allocations: 75.95 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.5501, allocations: 58.38 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.5529, allocations: 2.562 MB / 1.031 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.5532, allocations: 0.748 MB / 1.032 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.685e-05/0.5533, allocations: 41.92 kB / 1.032 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.5534, allocations: 71.41 kB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5534, allocations: 0 / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.5747, allocations: 5.337 MB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.603, allocations: 5.719 kB / 1.037 GB, free: 14.27 MB / 0.795 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