Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.417/2.417, allocations: 390.5 MB / 398 MB, free: 10.96 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.001379/0.001379, allocations: 188.8 kB / 491.2 MB, free: 1.551 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.589/1.589, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009883/0.0009883, allocations: 98.55 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.183e-05, allocations: 6.562 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2785, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9313/1.21, allocations: 158.6 MB / 1.367 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/1.21, allocations: 91.08 kB / 1.367 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03909/1.249, allocations: 15.37 MB / 1.382 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.306e-06/1.249, allocations: 0 / 1.382 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000143/1.25, allocations: 23.41 kB / 1.382 GB, free: 30.59 MB / 0.8386 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.002497/1.252, allocations: 0.9029 MB / 1.383 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.252, allocations: 7.562 kB / 1.383 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/1.253, allocations: 99.86 kB / 1.383 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/1.253, allocations: 454.7 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/1.254, allocations: 61.69 kB / 1.384 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.254, allocations: 38.75 kB / 1.384 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007117/1.254, allocations: 350.1 kB / 1.384 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008997/1.255, allocations: 0.5717 MB / 1.385 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/1.255, allocations: 0 / 1.385 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/1.255, allocations: 7.25 kB / 1.385 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.255, allocations: 19.61 kB / 1.385 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/1.258, allocations: 2.585 MB / 1.387 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/1.259, allocations: 339.7 kB / 1.388 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/1.259, allocations: 159.2 kB / 1.388 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/1.259, allocations: 14.34 kB / 1.388 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/1.259, allocations: 241.1 kB / 1.388 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/1.259, allocations: 0 / 1.388 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.000621/1.26, allocations: 339.2 kB / 1.388 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/1.26, allocations: 216.3 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/1.261, allocations: 0.5193 MB / 1.389 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/1.261, allocations: 44.16 kB / 1.389 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/1.261, allocations: 374.7 kB / 1.389 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.431e-05/1.261, allocations: 108.2 kB / 1.39 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/1.261, allocations: 0 / 1.39 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.261, allocations: 382.7 kB / 1.39 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/1.262, allocations: 133.9 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/1.262, allocations: 353 kB / 1.39 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/1.262, allocations: 149.7 kB / 1.391 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.262, allocations: 0 / 1.391 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006868/1.263, allocations: 496.4 kB / 1.391 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.263, allocations: 7.469 kB / 1.391 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.263, allocations: 7.875 kB / 1.391 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/1.263, allocations: 15.53 kB / 1.391 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/1.263, allocations: 84.58 kB / 1.391 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.263, allocations: 7.625 kB / 1.391 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/1.264, allocations: 54.09 kB / 1.391 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/1.264, allocations: 40.52 kB / 1.391 GB, free: 25.12 MB / 0.8386 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 () * 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.0001622/1.264, allocations: 154.8 kB / 1.391 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004552/1.264, allocations: 326.2 kB / 1.392 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/1.264, allocations: 62.25 kB / 1.392 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/1.265, allocations: 364.3 kB / 1.392 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.265, allocations: 3.719 kB / 1.392 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.265, allocations: 7.719 kB / 1.392 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.265, allocations: 3.984 kB / 1.392 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/1.266, allocations: 0.9252 MB / 1.393 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/1.266, allocations: 4 kB / 1.393 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/1.266, allocations: 42.06 kB / 1.393 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.266, allocations: 7.781 kB / 1.393 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/1.266, allocations: 15.33 kB / 1.393 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.267, allocations: 3.844 kB / 1.393 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.267, allocations: 7.859 kB / 1.393 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/1.267, allocations: 0.528 MB / 1.394 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/1.267, allocations: 142.6 kB / 1.394 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-05/1.267, allocations: 14.38 kB / 1.394 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/1.268, allocations: 26.38 kB / 1.394 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.268, allocations: 67.62 kB / 1.394 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/1.268, allocations: 18.45 kB / 1.394 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003533/1.268, allocations: 378.8 kB / 1.394 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.268, allocations: 0 / 1.394 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005378/1.269, allocations: 110.5 kB / 1.394 GB, free: 23.61 MB / 0.8386 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) * 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.001826/1.27, allocations: 1.732 MB / 1.396 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005949/1.271, allocations: 374.5 kB / 1.396 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.271, allocations: 3.844 kB / 1.396 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/1.271, allocations: 184.9 kB / 1.397 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/1.272, allocations: 76.61 kB / 1.397 GB, free: 22.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/1.274, allocations: 0.9785 MB / 1.398 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/1.274, allocations: 0.9646 MB / 1.399 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002734/1.275, allocations: 82.95 kB / 1.399 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/1.275, allocations: 268.5 kB / 1.399 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of SimCode: time 7.61e-07/1.275, allocations: 0 / 1.399 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/1.313, allocations: 11.82 MB / 1.41 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/1.313, allocations: 193.3 kB / 1.411 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.66, allocations: 1.547 kB / 1.411 GB, free: 11.92 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat does not exist to compare? outputFormat=mat