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.007287/0.007287, allocations: 102.4 kB / 15.73 MB, free: 6.488 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.001782/0.001782, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.487/2.487, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.12 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3183, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003999/0.3223, allocations: 1.917 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3245, allocations: 1.123 MB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.3247, allocations: 7.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.3251, allocations: 91.62 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.3255, allocations: 99.52 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.3261, allocations: 165.2 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.3264, allocations: 211.5 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3266, allocations: 53.64 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.3269, allocations: 99.55 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.327, allocations: 95.59 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.3271, allocations: 12 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.3273, allocations: 59.97 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.3274, allocations: 67.75 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3275, allocations: 91.41 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.3279, allocations: 266.8 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3279, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3279, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.328, allocations: 3.938 kB / 1.092 GB, free: 13.6 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.001016/0.329, allocations: 0.5413 MB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.329, allocations: 8.031 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.3291, allocations: 46.75 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.3292, allocations: 28.64 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.3296, allocations: 283 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3296, allocations: 11.98 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3296, allocations: 8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.33, allocations: 114.7 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.33, allocations: 3.938 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.33, allocations: 8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.33, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.3303, allocations: 83.92 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.3311, allocations: 448.3 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.3314, allocations: 142.6 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3316, allocations: 56.77 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3316, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.3319, allocations: 127.4 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.3319, allocations: 4 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0006911/0.3326, allocations: 243.5 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3327, allocations: 63.33 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.3331, allocations: 330.5 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3331, allocations: 37.64 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3332, allocations: 132.4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.3333, allocations: 43.53 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.3334, allocations: 61.59 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3335, allocations: 338.8 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.3337, allocations: 79.95 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.334, allocations: 134.6 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.3344, allocations: 192.1 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3344, allocations: 0 / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005678/0.335, allocations: 277.1 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.335, allocations: 4 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.335, allocations: 0 / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.335, allocations: 4 kB / 1.095 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3353, allocations: 44.06 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3353, allocations: 4 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.3355, allocations: 23.89 kB / 1.095 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3355, allocations: 15.94 kB / 1.096 GB, free: 9.457 MB / 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.000168/0.3357, allocations: 161.5 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.3357, allocations: 23.7 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.3358, allocations: 22.19 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3358, allocations: 7.938 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3358, allocations: 4 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3358, allocations: 7.922 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.3367, allocations: 0.5373 MB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3367, allocations: 0 / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.3368, allocations: 19.92 kB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3368, allocations: 0 / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3368, allocations: 4 kB / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3368, allocations: 8 kB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3368, allocations: 0 / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.3373, allocations: 294.2 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.3374, allocations: 100.9 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3374, allocations: 0 / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3376, allocations: 19.98 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.3377, allocations: 23.97 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.3377, allocations: 7.938 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002105/0.3379, allocations: 213.9 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3379, allocations: 0 / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003332/0.3383, allocations: 51.89 kB / 1.097 GB, free: 7.875 MB / 0.8575 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.001751/0.34, allocations: 1.139 MB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.3405, allocations: 183.7 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3406, allocations: 320 / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3408, allocations: 79.89 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.3412, allocations: 50.52 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.3447, allocations: 2.581 MB / 1.101 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3452, allocations: 0.748 MB / 1.102 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.3453, allocations: 37.94 kB / 1.102 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3455, allocations: 71.41 kB / 1.102 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.3455, allocations: 0 / 1.102 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.3737, allocations: 5.42 MB / 1.107 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.359, allocations: 13.89 kB / 1.107 GB, free: 13.64 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