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.323/2.323, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.000996/0.000996, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.49/1.49, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009644, allocations: 103.7 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/1.999e-05, allocations: 11.98 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2707, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.965/1.236, allocations: 153.3 MB / 1.356 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/1.236, allocations: 83.34 kB / 1.356 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03333/1.269, allocations: 12.11 MB / 1.368 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.764e-06/1.27, allocations: 0 / 1.368 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.496e-05/1.27, allocations: 11.38 kB / 1.368 GB, free: 32.43 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.001101/1.271, allocations: 0.8572 MB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.271, allocations: 7.688 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/1.272, allocations: 245.9 kB / 1.369 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/1.272, allocations: 0.5439 MB / 1.369 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/1.272, allocations: 11.47 kB / 1.369 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/1.273, allocations: 19.22 kB / 1.369 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005754/1.273, allocations: 385 kB / 1.37 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/1.274, allocations: 341.7 kB / 1.37 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.274, allocations: 0 / 1.37 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/1.274, allocations: 0 / 1.37 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/1.274, allocations: 10.94 kB / 1.37 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/1.278, allocations: 2.125 MB / 1.372 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/1.278, allocations: 231.3 kB / 1.372 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/1.278, allocations: 98.78 kB / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/1.278, allocations: 6.531 kB / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/1.278, allocations: 34 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.395e-06/1.278, allocations: 3.938 kB / 1.372 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0005149/1.279, allocations: 261.4 kB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/1.279, allocations: 55.38 kB / 1.373 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/1.28, allocations: 1.002 MB / 1.374 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/1.28, allocations: 29.7 kB / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/1.28, allocations: 421.8 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/1.28, allocations: 59.89 kB / 1.374 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/1.28, allocations: 0 / 1.374 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.28, allocations: 318.3 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/1.281, allocations: 158 kB / 1.375 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/1.281, allocations: 178.2 kB / 1.375 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/1.282, allocations: 241.2 kB / 1.375 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.282, allocations: 4.031 kB / 1.375 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001045/1.283, allocations: 0.5277 MB / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.283, allocations: 3.875 kB / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.283, allocations: 0 / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.283, allocations: 6.453 kB / 1.376 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/1.283, allocations: 80.89 kB / 1.376 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/1.283, allocations: 0 / 1.376 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/1.284, allocations: 52.41 kB / 1.376 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/1.284, allocations: 14.14 kB / 1.376 GB, free: 29.82 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.000112/1.284, allocations: 112.2 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003748/1.284, allocations: 263.8 kB / 1.376 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/1.284, allocations: 85.67 kB / 1.376 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/1.285, allocations: 287.8 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.285, allocations: 7.828 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.285, allocations: 3.984 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.285, allocations: 1.734 kB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/1.286, allocations: 1.011 MB / 1.377 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.286, allocations: 3.844 kB / 1.377 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/1.287, allocations: 75.16 kB / 1.378 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.287, allocations: 3.812 kB / 1.378 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.287, allocations: 6.578 kB / 1.378 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.287, allocations: 3.844 kB / 1.378 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.287, allocations: 0 / 1.378 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/1.287, allocations: 479.6 kB / 1.378 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/1.287, allocations: 232.4 kB / 1.378 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/1.287, allocations: 11.28 kB / 1.378 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/1.288, allocations: 36.08 kB / 1.378 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/1.288, allocations: 25.47 kB / 1.378 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/1.288, allocations: 10.89 kB / 1.378 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008358/1.289, allocations: 0.7866 MB / 1.379 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.289, allocations: 0 / 1.379 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004852/1.289, allocations: 126.1 kB / 1.379 GB, free: 28.55 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.001114/1.29, allocations: 1.49 MB / 1.381 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000373/1.291, allocations: 240.4 kB / 1.381 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.291, allocations: 0 / 1.381 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/1.291, allocations: 97.25 kB / 1.381 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/1.291, allocations: 58.55 kB / 1.381 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/1.294, allocations: 1.191 MB / 1.382 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/1.294, allocations: 1.013 MB / 1.383 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002976/1.295, allocations: 103.3 kB / 1.383 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/1.295, allocations: 284.7 kB / 1.384 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.295, allocations: 0 / 1.384 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/1.33, allocations: 12.91 MB / 1.396 GB, free: 20 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.33, allocations: 154.1 kB / 1.396 GB, free: 19.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.671, allocations: 0 / 1.396 GB, free: 19.81 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