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.545/2.545, allocations: 393.5 MB / 408.4 MB, free: 11 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.001283/0.001283, allocations: 183.9 kB / 0.4901 GB, free: 2.254 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.717/1.717, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009338/0.0009339, allocations: 94.67 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003898, allocations: 11.09 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.5703, allocations: 156.9 MB / 1.383 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5706, allocations: 95.92 kB / 1.383 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0354/0.606, allocations: 12.83 MB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6061, allocations: 4 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.138e-05/0.6061, allocations: 12 kB / 1.395 GB, free: 15.55 MB / 0.9011 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.001658/0.6078, allocations: 0.782 MB / 1.396 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.6079, allocations: 8.562 kB / 1.396 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.103e-05/0.608, allocations: 42.56 kB / 1.396 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.6081, allocations: 63.2 kB / 1.396 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009593/0.6091, allocations: 423.2 kB / 1.396 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.6092, allocations: 16.22 kB / 1.396 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.6092, allocations: 12 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.6095, allocations: 126.8 kB / 1.397 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6095, allocations: 0 / 1.397 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.6096, allocations: 12 kB / 1.397 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.6096, allocations: 7.938 kB / 1.397 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.6098, allocations: 91.91 kB / 1.397 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.6113, allocations: 0.6602 MB / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.6116, allocations: 134.8 kB / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.6117, allocations: 0 / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.6119, allocations: 107.3 kB / 1.398 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.612, allocations: 0 / 1.398 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12): time 0.0005468/0.6125, allocations: 213 kB / 1.398 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.6126, allocations: 55.41 kB / 1.398 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/0.6135, allocations: 0.5726 MB / 1.398 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.6135, allocations: 33.7 kB / 1.398 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.6138, allocations: 260.3 kB / 1.399 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.6139, allocations: 35.59 kB / 1.399 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.6139, allocations: 0 / 1.399 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.6141, allocations: 378.7 kB / 1.399 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.6143, allocations: 91.95 kB / 1.399 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.6146, allocations: 125.1 kB / 1.399 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.6148, allocations: 89.05 kB / 1.399 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6148, allocations: 4 kB / 1.399 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000541/0.6153, allocations: 299.2 kB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.6153, allocations: 4 kB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6154, allocations: 0 / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.6154, allocations: 0 / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.6156, allocations: 36.05 kB / 1.4 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.6156, allocations: 4 kB / 1.4 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.6159, allocations: 39.75 kB / 1.4 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.6159, allocations: 8 kB / 1.4 GB, free: 10.64 MB / 0.9011 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 () * Number of clocked 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.0002997/0.6162, allocations: 218.5 kB / 1.4 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.6163, allocations: 55.34 kB / 1.4 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.6167, allocations: 194.1 kB / 1.4 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6167, allocations: 0 / 1.4 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6167, allocations: 0 / 1.4 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6167, allocations: 4 kB / 1.4 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.6172, allocations: 377.4 kB / 1.401 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6172, allocations: 3.938 kB / 1.401 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.6173, allocations: 12 kB / 1.401 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.6173, allocations: 0 / 1.401 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.6173, allocations: 7.938 kB / 1.401 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6173, allocations: 3.984 kB / 1.401 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6174, allocations: 4 kB / 1.401 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.6179, allocations: 264.3 kB / 1.401 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.618, allocations: 128.4 kB / 1.401 GB, free: 9.301 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.6181, allocations: 8 kB / 1.401 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.6183, allocations: 20.05 kB / 1.401 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.6184, allocations: 23.95 kB / 1.401 GB, free: 9.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.6184, allocations: 4 kB / 1.401 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005907/0.619, allocations: 434.8 kB / 1.401 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.3e-07/0.619, allocations: 0 / 1.401 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004277/0.6194, allocations: 79.84 kB / 1.401 GB, free: 8.746 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001918/0.6213, allocations: 1.151 MB / 1.403 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.6217, allocations: 158.4 kB / 1.403 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6217, allocations: 0 / 1.403 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.6219, allocations: 55.92 kB / 1.403 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.6223, allocations: 67.8 kB / 1.403 GB, free: 7.457 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.6245, allocations: 1.421 MB / 1.404 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.6251, allocations: 0.8652 MB / 1.405 GB, free: 5.078 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.6253, allocations: 42.27 kB / 1.405 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.6255, allocations: 159.4 kB / 1.405 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of SimCode: time 3.61e-07/0.6255, allocations: 0 / 1.405 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.6552, allocations: 9.33 MB / 1.414 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.6555, allocations: 232.1 kB / 1.415 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.089, allocations: 0 / 1.415 GB, free: 11.48 MB / 0.9167 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