Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001134/0.001134, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.55/1.55, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009655/0.0009654, allocations: 96.25 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 10.78 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2694, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.4625, allocations: 158.5 MB / 1.378 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4628, allocations: 95.94 kB / 1.378 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03889/0.5017, allocations: 15.62 MB / 1.393 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5018, allocations: 0 / 1.393 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.594e-05/0.5018, allocations: 23.98 kB / 1.393 GB, free: 3.523 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.00149/0.5033, allocations: 0.9983 MB / 1.394 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5034, allocations: 8.031 kB / 1.394 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.5035, allocations: 102.5 kB / 1.394 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.5036, allocations: 90.88 kB / 1.394 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.5043, allocations: 468.1 kB / 1.395 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/0.5044, allocations: 78.95 kB / 1.395 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.5045, allocations: 71.94 kB / 1.395 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/0.5055, allocations: 0.6687 MB / 1.396 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.5056, allocations: 7.875 kB / 1.396 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.5056, allocations: 32 kB / 1.396 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5056, allocations: 16 kB / 1.396 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008169/0.5065, allocations: 443.5 kB / 1.396 GB, free: 396 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.5091, allocations: 2.71 MB / 1.399 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.5098, allocations: 385.3 kB / 1.399 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.5098, allocations: 8 kB / 1.399 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.5103, allocations: 288.9 kB / 1.399 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.5103, allocations: 0 / 1.399 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.001042/0.5114, allocations: 0.5172 MB / 1.4 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.5115, allocations: 225.5 kB / 1.4 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.5121, allocations: 0.5855 MB / 1.401 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.5122, allocations: 49.69 kB / 1.401 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.5125, allocations: 372.5 kB / 1.401 GB, free: 11 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.099e-05/0.5126, allocations: 106.8 kB / 1.401 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.5126, allocations: 12 kB / 1.401 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5128, allocations: 386.8 kB / 1.401 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.5131, allocations: 165.9 kB / 1.402 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.5136, allocations: 392.4 kB / 1.402 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.514, allocations: 179.8 kB / 1.402 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.514, allocations: 0 / 1.402 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009991/0.515, allocations: 0.6018 MB / 1.403 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.515, allocations: 8 kB / 1.403 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.515, allocations: 4 kB / 1.403 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.5151, allocations: 15.98 kB / 1.403 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.5154, allocations: 88.17 kB / 1.403 GB, free: 8.961 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.5154, allocations: 11.94 kB / 1.403 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.5157, allocations: 79.55 kB / 1.403 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.5158, allocations: 24 kB / 1.403 GB, free: 8.848 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,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.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003295/0.5161, allocations: 285.6 kB / 1.403 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.5162, allocations: 71.09 kB / 1.403 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007879/0.517, allocations: 424 kB / 1.404 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.517, allocations: 4 kB / 1.404 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.517, allocations: 8 kB / 1.404 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.517, allocations: 0 / 1.404 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.5186, allocations: 1.08 MB / 1.405 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5186, allocations: 0 / 1.405 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.5187, allocations: 35.91 kB / 1.405 GB, free: 6.883 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5188, allocations: 4 kB / 1.405 GB, free: 6.879 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.5188, allocations: 15.98 kB / 1.405 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5188, allocations: 7.953 kB / 1.405 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5188, allocations: 11.94 kB / 1.405 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.5197, allocations: 0.5999 MB / 1.405 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.5198, allocations: 144.2 kB / 1.406 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.5199, allocations: 23.98 kB / 1.406 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.5202, allocations: 23.98 kB / 1.406 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.5203, allocations: 71.8 kB / 1.406 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.5204, allocations: 19.98 kB / 1.406 GB, free: 5.883 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005223/0.5209, allocations: 427 kB / 1.406 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5209, allocations: 4 kB / 1.406 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006709/0.5216, allocations: 127.9 kB / 1.406 GB, free: 5.34 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,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.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,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): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002801/0.5244, allocations: 1.883 MB / 1.408 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.5255, allocations: 455.8 kB / 1.409 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5255, allocations: 3.938 kB / 1.409 GB, free: 3.113 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.5259, allocations: 207.8 kB / 1.409 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.5265, allocations: 91.97 kB / 1.409 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008106/0.5347, allocations: 7.709 MB / 1.416 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000865/0.5356, allocations: 0.9613 MB / 1.417 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003784/0.536, allocations: 80.52 kB / 1.417 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.5364, allocations: 275.3 kB / 1.418 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/0.5364, allocations: 0 / 1.418 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5141/1.051, allocations: 12.87 MB / 1.43 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.051, allocations: 225.2 kB / 1.43 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.372, allocations: 0 / 1.43 GB, free: 189.2 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat does not exist to compare? outputFormat=mat