Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",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.245/2.245, 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.001234/0.001234, allocations: 172.9 kB / 496.1 MB, free: 12.89 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.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.477 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.001061/0.001061, allocations: 87.91 kB / 0.9318 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.231e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3126, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8912/1.204, allocations: 156.9 MB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.204, allocations: 90.31 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03293/1.237, allocations: 12.8 MB / 1.385 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.536e-06/1.237, allocations: 4 kB / 1.385 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.119e-05/1.237, allocations: 15.88 kB / 1.385 GB, free: 2.262 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008627/1.238, allocations: 0.6639 MB / 1.385 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.238, allocations: 12.03 kB / 1.385 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/1.238, allocations: 49.48 kB / 1.385 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.571e-05/1.238, allocations: 59.2 kB / 1.385 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/1.239, allocations: 413 kB / 1.386 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/1.239, allocations: 11.61 kB / 1.386 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/1.239, allocations: 15.55 kB / 1.386 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/1.239, allocations: 123.3 kB / 1.386 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.239, allocations: 4 kB / 1.386 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/1.239, allocations: 21.98 kB / 1.386 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.239, allocations: 7.938 kB / 1.386 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/1.24, allocations: 84 kB / 1.386 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009993/1.241, allocations: 0.6568 MB / 1.387 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/1.241, allocations: 131.2 kB / 1.387 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/1.241, allocations: 38.92 kB / 1.387 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/1.241, allocations: 4 kB / 1.387 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/1.241, allocations: 102.9 kB / 1.387 GB, free: 60 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 3.246e-06/1.241, allocations: 3.984 kB / 1.387 GB, free: 56 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0003381/1.242, allocations: 167.5 kB / 1.387 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.242, allocations: 55.41 kB / 1.387 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/1.242, allocations: 0.571 MB / 1.388 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/1.242, allocations: 29.33 kB / 1.388 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/1.243, allocations: 266 kB / 1.388 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/1.243, allocations: 34.8 kB / 1.388 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/1.243, allocations: 3 kB / 1.388 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.243, allocations: 370.9 kB / 1.388 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/1.243, allocations: 85.28 kB / 1.388 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.243, allocations: 132.3 kB / 1.389 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/1.243, allocations: 86.83 kB / 1.389 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.243, allocations: 0 / 1.389 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000399/1.244, allocations: 289.7 kB / 1.389 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.244, allocations: 9.25 kB / 1.389 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.244, allocations: 0 / 1.389 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/1.244, allocations: 0 / 1.389 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/1.244, allocations: 40.03 kB / 1.389 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.244, allocations: 4 kB / 1.389 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/1.244, allocations: 27.67 kB / 1.389 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/1.244, allocations: 15.02 kB / 1.389 GB, free: 14.29 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001093/1.244, allocations: 125.1 kB / 1.389 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/1.244, allocations: 59.33 kB / 1.389 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/1.245, allocations: 188.5 kB / 1.389 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/1.245, allocations: 4 kB / 1.389 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.245, allocations: 0 / 1.389 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.245, allocations: 3.984 kB / 1.389 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/1.245, allocations: 377.5 kB / 1.39 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.245, allocations: 0 / 1.39 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/1.245, allocations: 8 kB / 1.39 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.245, allocations: 0 / 1.39 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/1.245, allocations: 14.55 kB / 1.39 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.245, allocations: 4 kB / 1.39 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.245, allocations: 3.938 kB / 1.39 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/1.245, allocations: 259.2 kB / 1.39 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.246, allocations: 126.9 kB / 1.39 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/1.246, allocations: 11.92 kB / 1.39 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.246, allocations: 19.92 kB / 1.39 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/1.246, allocations: 19.97 kB / 1.39 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/1.246, allocations: 11.92 kB / 1.39 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004413/1.246, allocations: 424.6 kB / 1.391 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.246, allocations: 0 / 1.391 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003198/1.247, allocations: 75.78 kB / 1.391 GB, free: 12.77 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001512/1.248, allocations: 1.103 MB / 1.392 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002706/1.248, allocations: 155.2 kB / 1.392 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.248, allocations: 4 kB / 1.392 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.249, allocations: 58.67 kB / 1.392 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/1.249, allocations: 64.92 kB / 1.392 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/1.25, allocations: 0.7209 MB / 1.393 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/1.251, allocations: 0.8667 MB / 1.394 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001254/1.251, allocations: 38.05 kB / 1.394 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/1.251, allocations: 158.1 kB / 1.394 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of SimCode: time 2.6e-07/1.251, allocations: 0 / 1.394 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/1.272, allocations: 9.471 MB / 1.403 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.273, allocations: 203.9 kB / 1.403 GB, free: 460 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.57, allocations: 11.31 kB / 1.403 GB, free: 452 kB / 0.8542 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat does not exist to compare? outputFormat=mat