Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.681/2.681, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 188.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 90.05 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004744, allocations: 13.03 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9284/1.144, allocations: 141.8 MB / 1.117 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.144, allocations: 79.69 kB / 1.117 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02949/1.174, allocations: 7.038 MB / 1.124 GB, free: 31.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.504e-06/1.174, allocations: 0 / 1.124 GB, free: 31.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.555e-05/1.174, allocations: 7.969 kB / 1.124 GB, free: 31.13 MB / 0.698 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.001196/1.175, allocations: 0.5434 MB / 1.124 GB, free: 30.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.175, allocations: 15.42 kB / 1.124 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/1.175, allocations: 40.67 kB / 1.124 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/1.175, allocations: 23.25 kB / 1.124 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/1.176, allocations: 301.8 kB / 1.125 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/1.176, allocations: 7.125 kB / 1.125 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/1.176, allocations: 11.41 kB / 1.125 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/1.177, allocations: 127 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.177, allocations: 3.938 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/1.177, allocations: 5.984 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.177, allocations: 3.812 kB / 1.125 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/1.177, allocations: 96.67 kB / 1.125 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/1.178, allocations: 493.9 kB / 1.125 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/1.179, allocations: 143.9 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/1.179, allocations: 0 / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/1.179, allocations: 135.8 kB / 1.126 GB, free: 29.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/1.179, allocations: 0 / 1.126 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.00109/1.18, allocations: 270.1 kB / 1.126 GB, free: 29.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/1.181, allocations: 55.22 kB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/1.181, allocations: 304.6 kB / 1.126 GB, free: 29.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/1.181, allocations: 32.48 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.181, allocations: 129.2 kB / 1.126 GB, free: 29.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/1.181, allocations: 51.7 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/1.181, allocations: 7.312 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.181, allocations: 333.1 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/1.182, allocations: 102 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/1.182, allocations: 151.2 kB / 1.127 GB, free: 29.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/1.183, allocations: 118.5 kB / 1.127 GB, free: 29.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/1.183, allocations: 0 / 1.127 GB, free: 29.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009691/1.184, allocations: 316 kB / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.184, allocations: 3.844 kB / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.184, allocations: 8.047 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.184, allocations: 3.844 kB / 1.127 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/1.184, allocations: 44.61 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.184, allocations: 10.81 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/1.184, allocations: 29.84 kB / 1.128 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/1.184, allocations: 15.62 kB / 1.128 GB, free: 29.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000236/1.185, allocations: 161.1 kB / 1.128 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/1.185, allocations: 15.5 kB / 1.128 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/1.185, allocations: 231.4 kB / 1.128 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.185, allocations: 3.953 kB / 1.128 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.186, allocations: 0 / 1.128 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.186, allocations: 0 / 1.128 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/1.187, allocations: 0.5787 MB / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.187, allocations: 3.953 kB / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/1.187, allocations: 17.7 kB / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.187, allocations: 0 / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/1.187, allocations: 6.906 kB / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.187, allocations: 0 / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.187, allocations: 0 / 1.129 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/1.188, allocations: 312.8 kB / 1.129 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.188, allocations: 110.4 kB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/1.188, allocations: 10.84 kB / 1.129 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/1.188, allocations: 21.3 kB / 1.129 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/1.188, allocations: 16.36 kB / 1.129 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/1.188, allocations: 9.906 kB / 1.129 GB, free: 28.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003016/1.189, allocations: 208.2 kB / 1.129 GB, free: 28.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.189, allocations: 0 / 1.129 GB, free: 28.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004884/1.189, allocations: 59.75 kB / 1.129 GB, free: 28.3 MB / 0.698 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 (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/1.191, allocations: 1.181 MB / 1.13 GB, free: 27.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008409/1.192, allocations: 201.7 kB / 1.131 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.192, allocations: 0 / 1.131 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/1.193, allocations: 86.67 kB / 1.131 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/1.193, allocations: 45.58 kB / 1.131 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/1.195, allocations: 1.643 MB / 1.132 GB, free: 26.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/1.195, allocations: 0.7545 MB / 1.133 GB, free: 25.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002503/1.196, allocations: 35.73 kB / 1.133 GB, free: 25.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/1.196, allocations: 77.31 kB / 1.133 GB, free: 25.36 MB / 0.698 GB Notification: Performance of SimCode: time 9.61e-07/1.196, allocations: 0 / 1.133 GB, free: 25.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/1.227, allocations: 5.07 MB / 1.138 GB, free: 23.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/1.228, allocations: 216.1 kB / 1.138 GB, free: 23.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/4.058, allocations: 0 / 1.138 GB, free: 23.22 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)