Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",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.51/2.51, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.0009941/0.0009941, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.426/1.426, allocations: 221.3 MB / 0.7915 GB, free: 5.488 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.000964/0.000964, allocations: 95.61 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.041e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2402, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7981/1.038, allocations: 157.9 MB / 1.373 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.039, allocations: 92.62 kB / 1.373 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04842/1.087, allocations: 17.56 MB / 1.39 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.073e-06/1.087, allocations: 0 / 1.39 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.311e-05/1.087, allocations: 16 kB / 1.39 GB, free: 13.19 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001411/1.089, allocations: 0.9317 MB / 1.391 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.089, allocations: 12.03 kB / 1.391 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/1.089, allocations: 87.83 kB / 1.391 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/1.089, allocations: 90.88 kB / 1.391 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/1.09, allocations: 0.4953 MB / 1.392 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/1.09, allocations: 76.7 kB / 1.392 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/1.09, allocations: 61.81 kB / 1.392 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008465/1.091, allocations: 0.5302 MB / 1.393 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.091, allocations: 3.984 kB / 1.393 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/1.091, allocations: 26.48 kB / 1.393 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/1.091, allocations: 12 kB / 1.393 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/1.091, allocations: 332.2 kB / 1.393 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/1.094, allocations: 1.93 MB / 1.395 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/1.094, allocations: 338.6 kB / 1.395 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/1.095, allocations: 161.8 kB / 1.395 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/1.095, allocations: 8 kB / 1.395 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/1.095, allocations: 254.8 kB / 1.395 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/1.095, allocations: 0 / 1.395 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.0007101/1.096, allocations: 387.6 kB / 1.396 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.096, allocations: 186.9 kB / 1.396 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/1.097, allocations: 0.6736 MB / 1.397 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/1.097, allocations: 51.67 kB / 1.397 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/1.097, allocations: 370.5 kB / 1.397 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/1.097, allocations: 111.3 kB / 1.397 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/1.097, allocations: 14.25 kB / 1.397 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.097, allocations: 327.5 kB / 1.398 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/1.098, allocations: 128.9 kB / 1.398 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/1.098, allocations: 307.4 kB / 1.398 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/1.098, allocations: 148.2 kB / 1.398 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.098, allocations: 0 / 1.398 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007147/1.099, allocations: 0.4935 MB / 1.399 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.099, allocations: 8 kB / 1.399 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.099, allocations: 11.92 kB / 1.399 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.099, allocations: 8 kB / 1.399 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/1.099, allocations: 74.91 kB / 1.399 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/1.099, allocations: 12.52 kB / 1.399 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/1.1, allocations: 61.64 kB / 1.399 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/1.1, allocations: 27.36 kB / 1.399 GB, free: 5.684 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,$PRE.transition4.t_start,transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.000183/1.1, allocations: 172.2 kB / 1.399 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/1.1, allocations: 75.06 kB / 1.399 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006768/1.101, allocations: 423.9 kB / 1.399 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.101, allocations: 4 kB / 1.399 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/1.101, allocations: 4 kB / 1.399 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/1.101, allocations: 7.938 kB / 1.399 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/1.102, allocations: 1.102 MB / 1.401 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.102, allocations: 0 / 1.401 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/1.102, allocations: 31.92 kB / 1.401 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.102, allocations: 0 / 1.401 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/1.102, allocations: 19.06 kB / 1.401 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.102, allocations: 11.98 kB / 1.401 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.102, allocations: 3.938 kB / 1.401 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/1.103, allocations: 0.5554 MB / 1.401 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/1.103, allocations: 166.5 kB / 1.401 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/1.103, allocations: 14.86 kB / 1.401 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/1.104, allocations: 31.91 kB / 1.401 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.104, allocations: 50.48 kB / 1.401 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/1.104, allocations: 15.62 kB / 1.401 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006122/1.104, allocations: 0.4973 MB / 1.402 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.515e-06/1.104, allocations: 0 / 1.402 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000561/1.105, allocations: 139.8 kB / 1.402 GB, free: 2.891 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.newActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002074/1.107, allocations: 1.644 MB / 1.404 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006501/1.108, allocations: 381 kB / 1.404 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.108, allocations: 8.062 kB / 1.404 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/1.108, allocations: 189.8 kB / 1.404 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/1.109, allocations: 105.6 kB / 1.404 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/1.111, allocations: 1.085 MB / 1.405 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/1.111, allocations: 0.9777 MB / 1.406 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002762/1.111, allocations: 100.2 kB / 1.406 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/1.112, allocations: 278.1 kB / 1.407 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/1.112, allocations: 0 / 1.407 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/1.144, allocations: 14.19 MB / 1.42 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/1.144, allocations: 192.7 kB / 1.421 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.501, allocations: 4.062 kB / 1.421 GB, free: 0.5664 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat does not exist to compare? outputFormat=mat