Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001083/0.001082, allocations: 176.7 kB / 492.3 MB, free: 0.6328 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.446/1.446, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0009066/0.0009066, allocations: 97.89 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.805e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2739, allocations: 142.4 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9465/1.22, allocations: 156 MB / 1.365 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.221, allocations: 90.22 kB / 1.365 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03189/1.253, allocations: 12.8 MB / 1.377 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.943e-06/1.253, allocations: 0 / 1.377 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.53e-05/1.253, allocations: 7.625 kB / 1.377 GB, free: 33.32 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.001137/1.254, allocations: 0.6776 MB / 1.378 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.254, allocations: 11.62 kB / 1.378 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/1.254, allocations: 45.34 kB / 1.378 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/1.254, allocations: 65.34 kB / 1.378 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/1.255, allocations: 415.3 kB / 1.379 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/1.255, allocations: 17.45 kB / 1.379 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/1.255, allocations: 13.5 kB / 1.379 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/1.256, allocations: 128.2 kB / 1.379 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.256, allocations: 0 / 1.379 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/1.256, allocations: 6.594 kB / 1.379 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.256, allocations: 0 / 1.379 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/1.256, allocations: 91.72 kB / 1.379 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/1.257, allocations: 0.6578 MB / 1.38 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/1.257, allocations: 124.9 kB / 1.38 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/1.257, allocations: 52.39 kB / 1.38 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/1.257, allocations: 7.609 kB / 1.38 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/1.257, allocations: 103.3 kB / 1.38 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 2.195e-06/1.257, allocations: 0 / 1.38 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0003403/1.258, allocations: 163.1 kB / 1.38 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/1.258, allocations: 55.25 kB / 1.38 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007023/1.259, allocations: 0.5691 MB / 1.381 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.259, allocations: 36.73 kB / 1.381 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/1.259, allocations: 268.5 kB / 1.381 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/1.259, allocations: 34.03 kB / 1.381 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/1.259, allocations: 7.469 kB / 1.381 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.259, allocations: 366.5 kB / 1.381 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/1.259, allocations: 92.25 kB / 1.381 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.259, allocations: 119.6 kB / 1.381 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/1.259, allocations: 89.52 kB / 1.382 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.259, allocations: 0 / 1.382 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003866/1.26, allocations: 290 kB / 1.382 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.26, allocations: 3.844 kB / 1.382 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.26, allocations: 0 / 1.382 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.26, allocations: 3.844 kB / 1.382 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/1.26, allocations: 30.86 kB / 1.382 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/1.26, allocations: 0 / 1.382 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/1.26, allocations: 36.81 kB / 1.382 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/1.26, allocations: 10.31 kB / 1.382 GB, free: 30.93 MB / 0.8386 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.0001035/1.261, allocations: 126.8 kB / 1.382 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/1.261, allocations: 54.47 kB / 1.382 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/1.261, allocations: 190 kB / 1.382 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.261, allocations: 3.812 kB / 1.382 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.261, allocations: 0 / 1.382 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.261, allocations: 0 / 1.382 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/1.261, allocations: 375.9 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.261, allocations: 0 / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/1.261, allocations: 11.34 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.261, allocations: 0 / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/1.261, allocations: 3.5 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.261, allocations: 3.875 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.261, allocations: 3.984 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/1.262, allocations: 253.1 kB / 1.383 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.262, allocations: 133.6 kB / 1.383 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/1.262, allocations: 6.844 kB / 1.383 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/1.262, allocations: 15.67 kB / 1.383 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/1.262, allocations: 27.3 kB / 1.383 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.262, allocations: 7.5 kB / 1.383 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000431/1.263, allocations: 427.6 kB / 1.383 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.263, allocations: 7.875 kB / 1.383 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003465/1.263, allocations: 84.08 kB / 1.384 GB, free: 30.02 MB / 0.8386 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.00145/1.264, allocations: 1.094 MB / 1.385 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002695/1.265, allocations: 160.7 kB / 1.385 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.265, allocations: 0 / 1.385 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/1.265, allocations: 52.94 kB / 1.385 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/1.265, allocations: 78.14 kB / 1.385 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/1.267, allocations: 0.7225 MB / 1.386 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/1.267, allocations: 0.8691 MB / 1.386 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000144/1.267, allocations: 41.2 kB / 1.386 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.267, allocations: 156.3 kB / 1.387 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/1.267, allocations: 0 / 1.387 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/1.292, allocations: 9.471 MB / 1.396 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/1.292, allocations: 201.8 kB / 1.396 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.599, allocations: 0 / 1.396 GB, free: 23.24 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat does not exist to compare? outputFormat=mat