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.368/2.368, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001472/0.001472, allocations: 184.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0008675/0.0008675, allocations: 107.1 kB / 0.9318 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.387e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2698, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8743/1.144, allocations: 159.1 MB / 1.374 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.145, allocations: 88.56 kB / 1.374 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04725/1.192, allocations: 14.63 MB / 1.389 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.453e-06/1.192, allocations: 0 / 1.389 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.816e-05/1.192, allocations: 15.94 kB / 1.389 GB, free: 14.45 MB / 0.8542 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.001762/1.194, allocations: 0.8473 MB / 1.389 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/1.194, allocations: 8.031 kB / 1.389 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/1.194, allocations: 100.7 kB / 1.39 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/1.194, allocations: 83.06 kB / 1.39 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/1.195, allocations: 445.8 kB / 1.39 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/1.195, allocations: 75.75 kB / 1.39 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.195, allocations: 65.02 kB / 1.39 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/1.197, allocations: 0.5945 MB / 1.391 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.197, allocations: 7.938 kB / 1.391 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/1.197, allocations: 23.62 kB / 1.391 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/1.197, allocations: 16 kB / 1.391 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008399/1.198, allocations: 367.2 kB / 1.391 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/1.201, allocations: 2.657 MB / 1.394 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/1.202, allocations: 359.2 kB / 1.394 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/1.202, allocations: 175 kB / 1.394 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/1.202, allocations: 7.594 kB / 1.394 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/1.203, allocations: 288.6 kB / 1.395 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=43): time 4.589e-06/1.203, allocations: 0 / 1.395 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.001002/1.204, allocations: 379.7 kB / 1.395 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/1.204, allocations: 220.2 kB / 1.395 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/1.205, allocations: 0.5496 MB / 1.396 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.873e-05/1.205, allocations: 54.58 kB / 1.396 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.206, allocations: 345.8 kB / 1.396 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.206, allocations: 106.7 kB / 1.396 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/1.206, allocations: 14.38 kB / 1.396 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002155/1.206, allocations: 378.6 kB / 1.396 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/1.206, allocations: 132 kB / 1.397 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/1.207, allocations: 347.5 kB / 1.397 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/1.207, allocations: 148.4 kB / 1.397 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1.207, allocations: 3.953 kB / 1.397 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001172/1.208, allocations: 0.5278 MB / 1.398 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.208, allocations: 8 kB / 1.398 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.208, allocations: 4.781 kB / 1.398 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/1.208, allocations: 12 kB / 1.398 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/1.209, allocations: 75.39 kB / 1.398 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/1.209, allocations: 15.94 kB / 1.398 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/1.209, allocations: 41.98 kB / 1.398 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/1.209, allocations: 31 kB / 1.398 GB, free: 6.086 MB / 0.8542 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 () * 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.0002119/1.21, allocations: 171.8 kB / 1.398 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/1.21, allocations: 79.09 kB / 1.398 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/1.211, allocations: 398.9 kB / 1.398 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.211, allocations: 4 kB / 1.398 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.211, allocations: 4 kB / 1.398 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/1.211, allocations: 3.938 kB / 1.398 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/1.213, allocations: 1.078 MB / 1.399 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.213, allocations: 0 / 1.399 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.213, allocations: 30.98 kB / 1.399 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/1.213, allocations: 4 kB / 1.399 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/1.213, allocations: 14.98 kB / 1.4 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.213, allocations: 7.938 kB / 1.4 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.213, allocations: 0 / 1.4 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/1.214, allocations: 0.5811 MB / 1.4 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/1.214, allocations: 148.1 kB / 1.4 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.214, allocations: 21.92 kB / 1.4 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/1.215, allocations: 11.12 kB / 1.4 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.215, allocations: 57.25 kB / 1.4 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/1.215, allocations: 23.48 kB / 1.4 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006537/1.216, allocations: 400.7 kB / 1.401 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.3e-07/1.216, allocations: 0 / 1.401 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008205/1.216, allocations: 128 kB / 1.401 GB, free: 3.391 MB / 0.8542 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) * 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.002758/1.219, allocations: 1.811 MB / 1.403 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009036/1.22, allocations: 403.1 kB / 1.403 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.22, allocations: 0 / 1.403 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/1.221, allocations: 200 kB / 1.403 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006374/1.221, allocations: 74.95 kB / 1.403 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/1.224, allocations: 0.9831 MB / 1.404 GB, free: 368 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/1.224, allocations: 0.9472 MB / 1.405 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003486/1.225, allocations: 79.78 kB / 1.405 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/1.225, allocations: 239.3 kB / 1.405 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/1.225, allocations: 0 / 1.405 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/1.253, allocations: 12.29 MB / 1.417 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/1.253, allocations: 201.4 kB / 1.418 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.432, allocations: 0 / 1.418 GB, free: 2.93 MB / 0.8698 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