Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 285.4 MB / 298 MB, free: 5.98 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.001086/0.001086, allocations: 180.8 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.1 MB / 0.6248 GB, free: 7.715 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 90.34 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.71e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7856, allocations: 115.3 MB / 0.971 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.9994, allocations: 141.9 MB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/0.9998, allocations: 79.95 kB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02016/1.02, allocations: 7.023 MB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/1.02, allocations: 0 / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.239e-05/1.02, allocations: 8 kB / 1.117 GB, free: 2.801 MB / 0.7136 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.0008155/1.021, allocations: 0.4947 MB / 1.117 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/1.021, allocations: 12.03 kB / 1.117 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.216e-05/1.021, allocations: 42.42 kB / 1.117 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/1.021, allocations: 27.62 kB / 1.117 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/1.022, allocations: 298.7 kB / 1.117 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/1.022, allocations: 16.17 kB / 1.117 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/1.022, allocations: 15.98 kB / 1.117 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/1.022, allocations: 99.16 kB / 1.117 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/1.022, allocations: 0 / 1.117 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/1.022, allocations: 0 / 1.117 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/1.022, allocations: 4 kB / 1.117 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/1.022, allocations: 70.16 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009086/1.023, allocations: 486.8 kB / 1.118 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/1.023, allocations: 122.6 kB / 1.118 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/1.024, allocations: 40.84 kB / 1.118 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/1.024, allocations: 8 kB / 1.118 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/1.024, allocations: 107.3 kB / 1.118 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/1.024, allocations: 0 / 1.118 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004023/1.024, allocations: 169.2 kB / 1.118 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/1.024, allocations: 59.41 kB / 1.119 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/1.025, allocations: 302.8 kB / 1.119 GB, free: 280 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/1.025, allocations: 29.7 kB / 1.119 GB, free: 244 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.025, allocations: 140.5 kB / 1.119 GB, free: 100 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/1.025, allocations: 35.61 kB / 1.119 GB, free: 64 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/1.025, allocations: 4 kB / 1.119 GB, free: 60 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.025, allocations: 338.8 kB / 1.119 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/1.025, allocations: 77.86 kB / 1.119 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/1.025, allocations: 139 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/1.026, allocations: 92.2 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.026, allocations: 0 / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004322/1.026, allocations: 275.2 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.026, allocations: 8 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/1.026, allocations: 0 / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/1.026, allocations: 7.953 kB / 1.12 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/1.026, allocations: 47.91 kB / 1.12 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/1.026, allocations: 10.64 kB / 1.12 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/1.027, allocations: 28.11 kB / 1.12 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/1.027, allocations: 12 kB / 1.12 GB, free: 15.02 MB / 0.7292 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 () * 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.0001296/1.027, allocations: 122.5 kB / 1.12 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/1.027, allocations: 19.72 kB / 1.12 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/1.027, allocations: 196.8 kB / 1.12 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.027, allocations: 7.953 kB / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.027, allocations: 4 kB / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.027, allocations: 0 / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/1.028, allocations: 0.5379 MB / 1.121 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.028, allocations: 0 / 1.121 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.028, allocations: 27.59 kB / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.028, allocations: 0 / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/1.028, allocations: 11.3 kB / 1.121 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.028, allocations: 4 kB / 1.121 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.028, allocations: 4 kB / 1.121 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/1.028, allocations: 273.2 kB / 1.121 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/1.029, allocations: 92.92 kB / 1.121 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/1.029, allocations: 11.95 kB / 1.121 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/1.029, allocations: 19.97 kB / 1.121 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/1.029, allocations: 19.98 kB / 1.121 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/1.029, allocations: 11.98 kB / 1.121 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002138/1.029, allocations: 203.1 kB / 1.121 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.029, allocations: 0 / 1.121 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003488/1.029, allocations: 71.83 kB / 1.122 GB, free: 13.3 MB / 0.7292 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.001447/1.031, allocations: 1.083 MB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003116/1.031, allocations: 169.7 kB / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.031, allocations: 0 / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/1.031, allocations: 59.94 kB / 1.123 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/1.032, allocations: 48.64 kB / 1.123 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/1.033, allocations: 385 kB / 1.123 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/1.033, allocations: 0.7558 MB / 1.124 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000116/1.033, allocations: 37.27 kB / 1.124 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/1.033, allocations: 75.41 kB / 1.124 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/1.033, allocations: 0 / 1.124 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/1.05, allocations: 5.13 MB / 1.129 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/1.05, allocations: 208.5 kB / 1.129 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.832, allocations: 0 / 1.129 GB, free: 5.645 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)