Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.602/2.602, allocations: 390.5 MB / 398 MB, free: 10.95 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.001329/0.001329, allocations: 179.8 kB / 491.2 MB, free: 1.551 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.57/1.57, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009123/0.0009122, allocations: 98.03 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.399e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3278, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.36, allocations: 154.1 MB / 1.363 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.36, allocations: 85.34 kB / 1.363 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02896/1.389, allocations: 12.12 MB / 1.375 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.389, allocations: 0 / 1.375 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.662e-05/1.39, allocations: 15.47 kB / 1.375 GB, free: 31.5 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00155/1.391, allocations: 0.8446 MB / 1.376 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.391, allocations: 15.5 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/1.392, allocations: 238.4 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/1.393, allocations: 0.5457 MB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/1.393, allocations: 7.875 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/1.393, allocations: 19.19 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006508/1.394, allocations: 399.8 kB / 1.377 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/1.395, allocations: 339.7 kB / 1.377 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.395, allocations: 0 / 1.377 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/1.395, allocations: 0 / 1.377 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.395, allocations: 7.656 kB / 1.377 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004046/1.399, allocations: 2.112 MB / 1.379 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/1.399, allocations: 232.8 kB / 1.379 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/1.399, allocations: 90.72 kB / 1.38 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/1.4, allocations: 6.078 kB / 1.38 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/1.4, allocations: 38.31 kB / 1.38 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.893e-06/1.4, allocations: 7.812 kB / 1.38 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0005383/1.4, allocations: 263.4 kB / 1.38 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/1.4, allocations: 51.41 kB / 1.38 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/1.402, allocations: 1.004 MB / 1.381 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/1.402, allocations: 25.7 kB / 1.381 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/1.402, allocations: 418.2 kB / 1.381 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/1.402, allocations: 63.89 kB / 1.381 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/1.402, allocations: 0 / 1.381 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.403, allocations: 316.3 kB / 1.382 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/1.403, allocations: 164.5 kB / 1.382 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/1.403, allocations: 179.5 kB / 1.382 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008225/1.404, allocations: 234.4 kB / 1.382 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.404, allocations: 7.922 kB / 1.382 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001221/1.405, allocations: 0.5249 MB / 1.383 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.405, allocations: 5.5 kB / 1.383 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.405, allocations: 0 / 1.383 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.405, allocations: 3.844 kB / 1.383 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/1.406, allocations: 76.06 kB / 1.383 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.406, allocations: 0 / 1.383 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/1.406, allocations: 59.08 kB / 1.383 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/1.406, allocations: 21.88 kB / 1.383 GB, free: 28.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.000165/1.406, allocations: 104.9 kB / 1.383 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004524/1.407, allocations: 259.9 kB / 1.383 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.407, allocations: 87.73 kB / 1.383 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/1.408, allocations: 302 kB / 1.384 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.408, allocations: 7.359 kB / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.408, allocations: 0 / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.408, allocations: 7.938 kB / 1.384 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/1.409, allocations: 1.012 MB / 1.385 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/1.409, allocations: 11.86 kB / 1.385 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/1.41, allocations: 65.78 kB / 1.385 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/1.41, allocations: 3.844 kB / 1.385 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/1.41, allocations: 3.844 kB / 1.385 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.41, allocations: 3.688 kB / 1.385 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.41, allocations: 4 kB / 1.385 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/1.41, allocations: 482.4 kB / 1.385 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/1.411, allocations: 228.8 kB / 1.385 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.411, allocations: 0 / 1.385 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/1.411, allocations: 43.11 kB / 1.385 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/1.411, allocations: 23.16 kB / 1.385 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/1.411, allocations: 7.844 kB / 1.385 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001058/1.412, allocations: 0.7882 MB / 1.386 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.412, allocations: 4 kB / 1.386 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005664/1.413, allocations: 119.8 kB / 1.386 GB, free: 27.32 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001803/1.415, allocations: 1.486 MB / 1.388 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004305/1.415, allocations: 241.9 kB / 1.388 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.415, allocations: 0 / 1.388 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/1.415, allocations: 91.11 kB / 1.388 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/1.416, allocations: 58.75 kB / 1.388 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/1.419, allocations: 1.2 MB / 1.389 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009363/1.42, allocations: 1.011 MB / 1.39 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003705/1.42, allocations: 99.11 kB / 1.39 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/1.421, allocations: 288.9 kB / 1.391 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of SimCode: time 1.443e-06/1.421, allocations: 3.844 kB / 1.391 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03992/1.461, allocations: 12.91 MB / 1.403 GB, free: 17.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.461, allocations: 160.1 kB / 1.403 GB, free: 17.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/3.76, allocations: 0 / 1.403 GB, free: 17.68 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat does not exist to compare? outputFormat=mat