Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001083, allocations: 180.8 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007729/0.0007729, allocations: 82.53 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.658e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1713, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6685/0.8399, allocations: 136 MB / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.8402, allocations: 77.7 kB / 1.018 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01874/0.8589, allocations: 6.784 MB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/0.859, allocations: 0 / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.884e-05/0.859, allocations: 8.188 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009219/0.8599, allocations: 0.4915 MB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.86, allocations: 12.02 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.8601, allocations: 26.84 kB / 1.025 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.8607, allocations: 292.1 kB / 1.026 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.8607, allocations: 8 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.8607, allocations: 8 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001494/0.8609, allocations: 59.22 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.8611, allocations: 116.7 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8611, allocations: 0 / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.8612, allocations: 0 / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.8612, allocations: 4 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.862, allocations: 0.5228 MB / 1.026 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.8622, allocations: 105.8 kB / 1.026 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.8622, allocations: 42.39 kB / 1.026 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.8623, allocations: 0 / 1.026 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.8625, allocations: 111.1 kB / 1.027 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.8625, allocations: 0 / 1.027 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.000313/0.8628, allocations: 163.6 kB / 1.027 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.8629, allocations: 55.41 kB / 1.027 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.8632, allocations: 285.8 kB / 1.027 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.8632, allocations: 29.7 kB / 1.027 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.8633, allocations: 138.5 kB / 1.027 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.8634, allocations: 38.98 kB / 1.027 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.8634, allocations: 0 / 1.027 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8636, allocations: 338.4 kB / 1.028 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.8637, allocations: 74.3 kB / 1.028 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.8638, allocations: 132.8 kB / 1.028 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.864, allocations: 85.83 kB / 1.028 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.864, allocations: 4 kB / 1.028 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003651/0.8644, allocations: 255 kB / 1.028 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.8644, allocations: 4 kB / 1.028 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8644, allocations: 3.984 kB / 1.028 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.8644, allocations: 4 kB / 1.028 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.8647, allocations: 59.17 kB / 1.028 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.8647, allocations: 4.188 kB / 1.028 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.8649, allocations: 31.81 kB / 1.028 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.8649, allocations: 8 kB / 1.028 GB, free: 8.512 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($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,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001061/0.865, allocations: 122.2 kB / 1.028 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002267/0.8652, allocations: 158.2 kB / 1.028 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.8653, allocations: 19.72 kB / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.8656, allocations: 183.6 kB / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.8656, allocations: 0 / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.8656, allocations: 0 / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8656, allocations: 3.984 kB / 1.029 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.8662, allocations: 0.4941 MB / 1.029 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8662, allocations: 3.953 kB / 1.029 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.982e-05/0.8663, allocations: 15.98 kB / 1.029 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8663, allocations: 4 kB / 1.029 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.8664, allocations: 11.67 kB / 1.029 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8664, allocations: 0 / 1.029 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8664, allocations: 0 / 1.029 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.8666, allocations: 256.5 kB / 1.029 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.8667, allocations: 111.8 kB / 1.03 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.8668, allocations: 4 kB / 1.03 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.8669, allocations: 15.98 kB / 1.03 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.867, allocations: 23.72 kB / 1.03 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.867, allocations: 8 kB / 1.03 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001759/0.8672, allocations: 198.8 kB / 1.03 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8672, allocations: 0 / 1.03 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003116/0.8675, allocations: 47.81 kB / 1.03 GB, free: 6.98 MB / 0.6511 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) * 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.001222/0.8687, allocations: 1.048 MB / 1.031 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.869, allocations: 149.6 kB / 1.031 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.869, allocations: 0 / 1.031 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.8691, allocations: 64.72 kB / 1.031 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.8695, allocations: 55.58 kB / 1.031 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.8702, allocations: 364.5 kB / 1.031 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.8706, allocations: 0.762 MB / 1.032 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.8707, allocations: 30.06 kB / 1.032 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.8708, allocations: 76.28 kB / 1.032 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.8708, allocations: 3.938 kB / 1.032 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.8926, allocations: 4.506 MB / 1.037 GB, free: 156 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.8929, allocations: 180 kB / 1.037 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.549, allocations: 0 / 1.037 GB, free: 15.96 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)