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.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001114/0.001114, allocations: 172.3 kB / 492.3 MB, free: 0.6133 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.491/1.491, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008553/0.0008553, allocations: 91.89 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.254e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2593, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8991/1.158, allocations: 158.5 MB / 1.367 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.159, allocations: 87.7 kB / 1.367 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03731/1.196, allocations: 15.57 MB / 1.383 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.532e-06/1.196, allocations: 0 / 1.383 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.153e-05/1.196, allocations: 15.72 kB / 1.383 GB, free: 31.99 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.001689/1.198, allocations: 0.9155 MB / 1.383 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.198, allocations: 7.531 kB / 1.383 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/1.198, allocations: 100.5 kB / 1.384 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/1.198, allocations: 91.66 kB / 1.384 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007868/1.199, allocations: 463.4 kB / 1.384 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.072e-05/1.199, allocations: 78.98 kB / 1.384 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/1.199, allocations: 65.59 kB / 1.384 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/1.2, allocations: 0.6554 MB / 1.385 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.2, allocations: 0 / 1.385 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/1.2, allocations: 28.55 kB / 1.385 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/1.2, allocations: 15.38 kB / 1.385 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/1.201, allocations: 398.6 kB / 1.385 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/1.204, allocations: 2.704 MB / 1.388 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/1.204, allocations: 354.8 kB / 1.388 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/1.205, allocations: 178.4 kB / 1.388 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/1.205, allocations: 11.69 kB / 1.388 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/1.205, allocations: 255.9 kB / 1.389 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 4.128e-06/1.205, allocations: 3.984 kB / 1.389 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0006039/1.206, allocations: 370.7 kB / 1.389 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/1.206, allocations: 221 kB / 1.389 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/1.206, allocations: 0.579 MB / 1.39 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/1.206, allocations: 54.81 kB / 1.39 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/1.207, allocations: 372.9 kB / 1.39 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/1.207, allocations: 114.6 kB / 1.39 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/1.207, allocations: 10.69 kB / 1.39 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.207, allocations: 384.8 kB / 1.391 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/1.207, allocations: 145.3 kB / 1.391 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/1.207, allocations: 358 kB / 1.391 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/1.208, allocations: 164.3 kB / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.208, allocations: 0 / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008305/1.209, allocations: 0.556 MB / 1.392 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.209, allocations: 7.656 kB / 1.392 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.209, allocations: 7.656 kB / 1.392 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/1.209, allocations: 7.688 kB / 1.392 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/1.209, allocations: 85.33 kB / 1.392 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/1.209, allocations: 23.48 kB / 1.392 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/1.209, allocations: 70.72 kB / 1.392 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/1.21, allocations: 33.64 kB / 1.392 GB, free: 26.35 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.0002066/1.21, allocations: 180.4 kB / 1.392 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/1.21, allocations: 69.8 kB / 1.392 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/1.211, allocations: 381.2 kB / 1.393 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/1.211, allocations: 3.875 kB / 1.393 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.211, allocations: 3.859 kB / 1.393 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.211, allocations: 7.969 kB / 1.393 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/1.212, allocations: 1.035 MB / 1.394 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.212, allocations: 0 / 1.394 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/1.212, allocations: 42.34 kB / 1.394 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.212, allocations: 3.844 kB / 1.394 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/1.213, allocations: 7.219 kB / 1.394 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.213, allocations: 3.812 kB / 1.394 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.213, allocations: 11.88 kB / 1.394 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/1.213, allocations: 0.5666 MB / 1.394 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/1.213, allocations: 147.2 kB / 1.394 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/1.214, allocations: 14.72 kB / 1.395 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/1.214, allocations: 34.59 kB / 1.395 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.214, allocations: 69.08 kB / 1.395 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/1.214, allocations: 19.2 kB / 1.395 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000487/1.215, allocations: 426.4 kB / 1.395 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.71e-07/1.215, allocations: 0 / 1.395 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006091/1.215, allocations: 133.6 kB / 1.395 GB, free: 24.88 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.002186/1.217, allocations: 1.782 MB / 1.397 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007441/1.218, allocations: 417.8 kB / 1.397 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.218, allocations: 1.562 kB / 1.397 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/1.218, allocations: 190.3 kB / 1.397 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/1.219, allocations: 87.89 kB / 1.398 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/1.221, allocations: 1.009 MB / 1.399 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/1.222, allocations: 0.9654 MB / 1.399 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000252/1.222, allocations: 82.77 kB / 1.4 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/1.222, allocations: 279.7 kB / 1.4 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.222, allocations: 0 / 1.4 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/1.251, allocations: 12.98 MB / 1.413 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.251, allocations: 202.2 kB / 1.413 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.496, allocations: 5.828 kB / 1.413 GB, free: 10.45 MB / 0.8386 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