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.356/2.356, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001296/0.001296, allocations: 186.8 kB / 0.4901 GB, free: 2.246 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.715/1.715, allocations: 223.1 MB / 0.7992 GB, free: 15.74 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.001196/0.001196, allocations: 90.05 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003448, allocations: 9.25 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2882, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.4876, allocations: 154.8 MB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4879, allocations: 87.95 kB / 1.381 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02953/0.5175, allocations: 12.3 MB / 1.393 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5175, allocations: 4 kB / 1.393 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.5175, allocations: 12 kB / 1.393 GB, free: 13.88 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001362/0.5189, allocations: 1.026 MB / 1.394 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.519, allocations: 8.562 kB / 1.394 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.519, allocations: 70.53 kB / 1.394 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5201, allocations: 238.6 kB / 1.394 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/0.5209, allocations: 0.5499 MB / 1.394 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.5209, allocations: 20.66 kB / 1.394 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.521, allocations: 32 kB / 1.394 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009514/0.522, allocations: 457.9 kB / 1.395 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.522, allocations: 0 / 1.395 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.522, allocations: 12 kB / 1.395 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.522, allocations: 4 kB / 1.395 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.5233, allocations: 0.5412 MB / 1.395 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.5273, allocations: 2.213 MB / 1.398 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.5285, allocations: 374.4 kB / 1.398 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.5285, allocations: 8.297 kB / 1.398 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.5286, allocations: 38.55 kB / 1.398 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=20): time 3.166e-06/0.5286, allocations: 0 / 1.398 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20): time 0.001643/0.5302, allocations: 0.557 MB / 1.399 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.5303, allocations: 55.41 kB / 1.399 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.5319, allocations: 1.126 MB / 1.4 GB, free: 6.301 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.5319, allocations: 33.7 kB / 1.4 GB, free: 6.262 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.5323, allocations: 420.5 kB / 1.4 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.5324, allocations: 70.94 kB / 1.4 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.5324, allocations: 4 kB / 1.4 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5325, allocations: 313.9 kB / 1.4 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005882/0.5331, allocations: 239.7 kB / 1.401 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.5337, allocations: 258.8 kB / 1.401 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.5343, allocations: 226.6 kB / 1.401 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5343, allocations: 0 / 1.401 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001381/0.5357, allocations: 0.6016 MB / 1.402 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5358, allocations: 12 kB / 1.402 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.5358, allocations: 0 / 1.402 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.5358, allocations: 0 / 1.402 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.5362, allocations: 75.92 kB / 1.402 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5363, allocations: 0 / 1.402 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.5367, allocations: 71.64 kB / 1.402 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.5367, allocations: 20 kB / 1.402 GB, free: 3.965 MB / 0.9011 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 () * Number of clocked 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.0003749/0.5371, allocations: 269.6 kB / 1.402 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5372, allocations: 90.88 kB / 1.402 GB, free: 3.602 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.5385, allocations: 454.8 kB / 1.403 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5385, allocations: 7.938 kB / 1.403 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.5385, allocations: 0 / 1.403 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5385, allocations: 0 / 1.403 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.5408, allocations: 1.219 MB / 1.404 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5408, allocations: 0 / 1.404 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.5412, allocations: 79.86 kB / 1.404 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.5412, allocations: 0 / 1.404 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.5412, allocations: 4 kB / 1.404 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5412, allocations: 8.031 kB / 1.404 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5412, allocations: 0 / 1.404 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.5424, allocations: 0.639 MB / 1.405 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.5428, allocations: 235.8 kB / 1.405 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.5429, allocations: 8 kB / 1.405 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.5433, allocations: 43.95 kB / 1.405 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.5434, allocations: 23.92 kB / 1.405 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.5434, allocations: 15.98 kB / 1.405 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.5439/1.087, allocations: 0.8929 MB / 1.406 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.052e-06/1.087, allocations: 8.422 kB / 1.406 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009807/1.088, allocations: 115.8 kB / 1.406 GB, free: 168.1 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001856/1.09, allocations: 1.638 MB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001248/1.091, allocations: 395.9 kB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.091, allocations: 1 kB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005394/1.092, allocations: 175.2 kB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/1.092, allocations: 64.97 kB / 1.408 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.104, allocations: 5.762 MB / 1.414 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/1.104, allocations: 1.011 MB / 1.415 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004553/1.105, allocations: 101.4 kB / 1.415 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/1.105, allocations: 292 kB / 1.415 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.704e-06/1.105, allocations: 0 / 1.415 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04173/1.147, allocations: 15.67 MB / 1.43 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/1.147, allocations: 196.9 kB / 1.431 GB, free: 163 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.531, allocations: 0 / 1.431 GB, free: 163 MB / 0.9011 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