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.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.001083/0.001083, allocations: 184.9 kB / 496.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.00092/0.0009201, allocations: 83.25 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.184e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2804, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9025/1.183, allocations: 154.7 MB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.183, allocations: 83.94 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03517/1.219, allocations: 12.27 MB / 1.382 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.997e-06/1.219, allocations: 0 / 1.382 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.691e-05/1.219, allocations: 22.02 kB / 1.382 GB, free: 4.348 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.001156/1.22, allocations: 0.8477 MB / 1.383 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.22, allocations: 8.031 kB / 1.383 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.583e-05/1.22, allocations: 71.91 kB / 1.383 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/1.221, allocations: 238.5 kB / 1.383 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000784/1.222, allocations: 0.5458 MB / 1.384 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/1.222, allocations: 20.28 kB / 1.384 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/1.222, allocations: 30.81 kB / 1.384 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/1.223, allocations: 379 kB / 1.384 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.223, allocations: 4 kB / 1.384 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/1.223, allocations: 14.44 kB / 1.384 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/1.223, allocations: 12 kB / 1.384 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/1.223, allocations: 403.7 kB / 1.385 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/1.228, allocations: 2.221 MB / 1.387 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/1.228, allocations: 241.6 kB / 1.387 GB, free: 32 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/1.228, allocations: 97.58 kB / 1.387 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/1.228, allocations: 4.312 kB / 1.387 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/1.228, allocations: 42.06 kB / 1.387 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/1.228, allocations: 0 / 1.387 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.000524/1.229, allocations: 288 kB / 1.387 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/1.229, allocations: 51.41 kB / 1.387 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.23, allocations: 1.114 MB / 1.388 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/1.23, allocations: 33.52 kB / 1.389 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/1.231, allocations: 416.4 kB / 1.389 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/1.231, allocations: 65.88 kB / 1.389 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/1.231, allocations: 7 kB / 1.389 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.231, allocations: 317.7 kB / 1.389 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/1.231, allocations: 166.4 kB / 1.389 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/1.231, allocations: 182.5 kB / 1.39 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/1.232, allocations: 161.1 kB / 1.39 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.232, allocations: 0 / 1.39 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008679/1.233, allocations: 461.2 kB / 1.39 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.233, allocations: 7.938 kB / 1.39 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.233, allocations: 7.938 kB / 1.39 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.233, allocations: 0 / 1.39 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/1.233, allocations: 82.95 kB / 1.39 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.233, allocations: 0 / 1.39 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/1.234, allocations: 66.33 kB / 1.39 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/1.234, allocations: 15.19 kB / 1.39 GB, free: 13.38 MB / 0.8542 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.0001281/1.234, allocations: 123.9 kB / 1.39 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/1.234, allocations: 86.88 kB / 1.391 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008517/1.235, allocations: 318.7 kB / 1.391 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.235, allocations: 3.938 kB / 1.391 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.235, allocations: 0 / 1.391 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.235, allocations: 0 / 1.391 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/1.238, allocations: 1.083 MB / 1.392 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/1.238, allocations: 0 / 1.392 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/1.238, allocations: 79.5 kB / 1.392 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/1.238, allocations: 3.984 kB / 1.392 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/1.238, allocations: 11.36 kB / 1.392 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.238, allocations: 4 kB / 1.392 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.238, allocations: 0 / 1.392 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008951/1.239, allocations: 0.4913 MB / 1.393 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/1.24, allocations: 233.6 kB / 1.393 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.24, allocations: 11.8 kB / 1.393 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/1.241, allocations: 47.95 kB / 1.393 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/1.241, allocations: 23.86 kB / 1.393 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/1.241, allocations: 11.38 kB / 1.393 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002017/1.243, allocations: 0.8847 MB / 1.394 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/1.243, allocations: 0 / 1.394 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008614/1.244, allocations: 121.7 kB / 1.394 GB, free: 10.42 MB / 0.8542 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.001896/1.246, allocations: 1.506 MB / 1.395 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007733/1.247, allocations: 251.3 kB / 1.396 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.247, allocations: 4 kB / 1.396 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/1.247, allocations: 102.8 kB / 1.396 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/1.248, allocations: 65.47 kB / 1.396 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/1.252, allocations: 1.23 MB / 1.397 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/1.253, allocations: 1.01 MB / 1.398 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005969/1.253, allocations: 110.9 kB / 1.398 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/1.254, allocations: 289.2 kB / 1.398 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/1.254, allocations: 0 / 1.398 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/1.305, allocations: 15.5 MB / 1.413 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/1.305, allocations: 180.9 kB / 1.414 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.537, allocations: 4.062 kB / 1.414 GB, free: 6.828 MB / 0.8698 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