Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001183/0.001183, allocations: 188 kB / 492.3 MB, free: 0.6133 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.564/1.564, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009511/0.0009512, allocations: 97.73 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.539e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2353, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9092/1.145, allocations: 153.9 MB / 1.363 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.145, allocations: 89.97 kB / 1.363 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0281/1.173, allocations: 12.26 MB / 1.375 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.395e-06/1.173, allocations: 0 / 1.375 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.497e-05/1.173, allocations: 15.41 kB / 1.375 GB, free: 33.36 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.001287/1.174, allocations: 0.8508 MB / 1.376 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.174, allocations: 11.59 kB / 1.376 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/1.175, allocations: 67.67 kB / 1.376 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.176, allocations: 244.2 kB / 1.376 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/1.177, allocations: 0.5462 MB / 1.377 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/1.177, allocations: 21.62 kB / 1.377 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.332e-05/1.177, allocations: 29.34 kB / 1.377 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/1.177, allocations: 378.1 kB / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.177, allocations: 0 / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/1.177, allocations: 14.31 kB / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.177, allocations: 7.688 kB / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/1.178, allocations: 410.1 kB / 1.377 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/1.182, allocations: 2.214 MB / 1.38 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/1.183, allocations: 245.3 kB / 1.38 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/1.183, allocations: 98.86 kB / 1.38 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/1.183, allocations: 14.5 kB / 1.38 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.183, allocations: 37.25 kB / 1.38 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/1.183, allocations: 0 / 1.38 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0005303/1.183, allocations: 280.4 kB / 1.38 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.183, allocations: 55.19 kB / 1.38 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/1.185, allocations: 1.119 MB / 1.381 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/1.185, allocations: 32.86 kB / 1.381 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/1.185, allocations: 420.3 kB / 1.382 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/1.185, allocations: 61.14 kB / 1.382 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/1.185, allocations: 3.312 kB / 1.382 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.185, allocations: 321.3 kB / 1.382 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/1.186, allocations: 157.9 kB / 1.382 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/1.186, allocations: 192.1 kB / 1.382 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/1.186, allocations: 151.3 kB / 1.383 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.186, allocations: 4.031 kB / 1.383 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007898/1.187, allocations: 473.2 kB / 1.383 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.187, allocations: 7.719 kB / 1.383 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.187, allocations: 0 / 1.383 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.187, allocations: 0 / 1.383 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/1.188, allocations: 69.53 kB / 1.383 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.188, allocations: 11.78 kB / 1.383 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/1.188, allocations: 65.38 kB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/1.188, allocations: 18.28 kB / 1.383 GB, free: 30.48 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.0001217/1.188, allocations: 120.3 kB / 1.383 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/1.188, allocations: 85.12 kB / 1.383 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006012/1.189, allocations: 321.5 kB / 1.384 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.189, allocations: 3.875 kB / 1.384 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.189, allocations: 0 / 1.384 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.189, allocations: 7.922 kB / 1.384 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/1.191, allocations: 1.077 MB / 1.385 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.191, allocations: 7.984 kB / 1.385 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/1.191, allocations: 73.47 kB / 1.385 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.191, allocations: 7.969 kB / 1.385 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/1.191, allocations: 6.812 kB / 1.385 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.191, allocations: 3.938 kB / 1.385 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.191, allocations: 3.844 kB / 1.385 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/1.192, allocations: 0.4892 MB / 1.385 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/1.192, allocations: 242.2 kB / 1.386 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.192, allocations: 3.438 kB / 1.386 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/1.193, allocations: 46.52 kB / 1.386 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/1.193, allocations: 26.97 kB / 1.386 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/1.193, allocations: 19.12 kB / 1.386 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001125/1.194, allocations: 0.8802 MB / 1.387 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.194, allocations: 0 / 1.387 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005585/1.194, allocations: 125.7 kB / 1.387 GB, free: 28.8 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.001431/1.196, allocations: 1.497 MB / 1.388 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004386/1.196, allocations: 245.1 kB / 1.388 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.196, allocations: 0 / 1.388 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/1.197, allocations: 100.5 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/1.197, allocations: 75.53 kB / 1.389 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/1.2, allocations: 1.222 MB / 1.39 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/1.2, allocations: 1.016 MB / 1.391 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000334/1.201, allocations: 104.4 kB / 1.391 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/1.201, allocations: 292.7 kB / 1.391 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/1.201, allocations: 0 / 1.391 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/1.23, allocations: 15.49 MB / 1.406 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.23, allocations: 184 kB / 1.406 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/3.483, allocations: 3.938 kB / 1.406 GB, free: 15.24 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat does not exist to compare? outputFormat=mat