Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 176 kB / 0.4901 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.807/1.807, allocations: 223.1 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 109 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 8.594 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3401, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2126/0.5528, allocations: 159.1 MB / 1.385 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.5532, allocations: 99.94 kB / 1.385 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03863/0.5918, allocations: 14.67 MB / 1.399 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5919, allocations: 4 kB / 1.399 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.422e-05/0.592, allocations: 16 kB / 1.399 GB, free: 11.31 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001855/0.5938, allocations: 0.926 MB / 1.4 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.5939, allocations: 8.562 kB / 1.4 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.5941, allocations: 98.45 kB / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.5943, allocations: 90.95 kB / 1.4 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.5953, allocations: 451.8 kB / 1.401 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.5954, allocations: 78.88 kB / 1.401 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.931e-05/0.5955, allocations: 59.95 kB / 1.401 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.5966, allocations: 0.606 MB / 1.401 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5967, allocations: 8 kB / 1.401 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.5967, allocations: 19.98 kB / 1.401 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.5968, allocations: 16 kB / 1.401 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.5975, allocations: 379.5 kB / 1.402 GB, free: 8.402 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.6007, allocations: 2.66 MB / 1.404 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.6013, allocations: 376.9 kB / 1.405 GB, free: 5.203 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.6014, allocations: 4.281 kB / 1.405 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.6019, allocations: 292.9 kB / 1.405 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/0.6019, allocations: 0 / 1.405 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.001033/0.6029, allocations: 0.4959 MB / 1.405 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.6031, allocations: 226.2 kB / 1.406 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.6038, allocations: 0.5526 MB / 1.406 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.6039, allocations: 49.69 kB / 1.406 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.6042, allocations: 352.6 kB / 1.407 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6043, allocations: 102.8 kB / 1.407 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.6043, allocations: 12 kB / 1.407 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.6045, allocations: 382.8 kB / 1.407 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.6048, allocations: 141.2 kB / 1.407 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.6052, allocations: 339.6 kB / 1.408 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.6055, allocations: 164.6 kB / 1.408 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6055, allocations: 0 / 1.408 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009131/0.6064, allocations: 0.5341 MB / 1.408 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.6065, allocations: 8 kB / 1.408 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6065, allocations: 8 kB / 1.408 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.6065, allocations: 8 kB / 1.408 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.6068, allocations: 79.77 kB / 1.408 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.6069, allocations: 11.94 kB / 1.408 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.6072, allocations: 56.14 kB / 1.408 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.6072, allocations: 28 kB / 1.408 GB, free: 1.191 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.000364/0.6076, allocations: 269.6 kB / 1.409 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6077, allocations: 71.19 kB / 1.409 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.6084, allocations: 415.1 kB / 1.409 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6085, allocations: 8 kB / 1.409 GB, free: 440 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6085, allocations: 0 / 1.409 GB, free: 440 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.6085, allocations: 7.984 kB / 1.409 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.6102, allocations: 1.075 MB / 1.41 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.6102, allocations: 8 kB / 1.41 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.6103, allocations: 27.92 kB / 1.41 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.6103, allocations: 4 kB / 1.41 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.6104, allocations: 15.92 kB / 1.41 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.6104, allocations: 4 kB / 1.41 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6104, allocations: 7.938 kB / 1.41 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.6112, allocations: 0.5883 MB / 1.411 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.6113, allocations: 140.3 kB / 1.411 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.6114, allocations: 23.98 kB / 1.411 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.6116, allocations: 12 kB / 1.411 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.6118, allocations: 55.86 kB / 1.411 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.6118, allocations: 19.98 kB / 1.411 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004714/0.6123, allocations: 402.8 kB / 1.411 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6123, allocations: 0 / 1.411 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006176/0.6129, allocations: 135.8 kB / 1.412 GB, free: 13.78 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002321/0.6152, allocations: 1.867 MB / 1.413 GB, free: 12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007606/0.616, allocations: 403.3 kB / 1.414 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.616, allocations: 4.188 kB / 1.414 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.6164, allocations: 211.6 kB / 1.414 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.6169, allocations: 75.83 kB / 1.414 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.6236, allocations: 7.285 MB / 1.421 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.6242, allocations: 0.951 MB / 1.422 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002574/0.6245, allocations: 80.27 kB / 1.422 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.6248, allocations: 239.3 kB / 1.422 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.6248, allocations: 0 / 1.422 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6268/1.252, allocations: 12.14 MB / 1.434 GB, free: 182 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/1.252, allocations: 237 kB / 1.435 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.71, allocations: 2.844 kB / 1.435 GB, free: 181.7 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat does not exist to compare? outputFormat=mat