Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.421/2.421, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001636/0.001636, allocations: 184.8 kB / 360.6 MB, free: 7.285 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.102/2.102, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001093/0.001092, allocations: 92.33 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.398e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8337, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2452/1.079, allocations: 138.3 MB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/1.079, allocations: 87.94 kB / 1.099 GB, free: 2.098 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01119/1.091, allocations: 2.407 MB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.634e-06/1.091, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.091, allocations: 0 / 1.101 GB, free: 15.75 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000691/1.091, allocations: 414.3 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.091, allocations: 8.031 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/1.091, allocations: 13.11 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.092, allocations: 176 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.092, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/1.092, allocations: 15.98 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001515/1.092, allocations: 44.25 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/1.092, allocations: 54.81 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.092, allocations: 4 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/1.092, allocations: 3.984 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/1.092, allocations: 0 / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/1.093, allocations: 347.7 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/1.093, allocations: 43.8 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/1.093, allocations: 20.95 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/1.093, allocations: 3.984 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/1.093, allocations: 71.33 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.033e-06/1.093, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002574/1.094, allocations: 73.48 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/1.094, allocations: 55.41 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/1.094, allocations: 119.6 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/1.094, allocations: 33.08 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/1.094, allocations: 100 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/1.094, allocations: 11.89 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/1.094, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.094, allocations: 314.8 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/1.094, allocations: 35.98 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/1.094, allocations: 67.42 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/1.095, allocations: 35.97 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.095, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005268/1.095, allocations: 133.5 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/1.095, allocations: 41.69 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.095, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.095, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/1.096, allocations: 20.02 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.096, allocations: 9.281 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/1.096, allocations: 55.89 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/1.096, allocations: 4 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.000115/1.096, allocations: 118 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001614/1.096, allocations: 69.59 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/1.096, allocations: 3.906 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/1.096, allocations: 17.19 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.096, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.096, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.096, allocations: 3.938 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/1.097, allocations: 166.2 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.097, allocations: 0 / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-05/1.097, allocations: 9.5 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.097, allocations: 4 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.097, allocations: 9.047 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/1.097, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.097, allocations: 3.953 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/1.097, allocations: 97.03 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/1.097, allocations: 77.77 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/1.097, allocations: 6.312 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.097, allocations: 11.98 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/1.097, allocations: 15.97 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.097, allocations: 7.953 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.577e-05/1.098, allocations: 87.28 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.098, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003295/1.098, allocations: 33.52 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007018/1.099, allocations: 0.6484 MB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003673/1.099, allocations: 139.3 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.099, allocations: 0 / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/1.099, allocations: 24.12 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/1.099, allocations: 4 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/1.1, allocations: 147 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/1.1, allocations: 0.6983 MB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.009e-05/1.1, allocations: 9.375 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/1.1, allocations: 31.36 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/1.1, allocations: 0 / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/1.141, allocations: 1.976 MB / 1.107 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/1.142, allocations: 166.3 kB / 1.108 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.624, allocations: 4 kB / 1.108 GB, free: 8.559 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)