Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.397/2.397, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001521/0.001521, allocations: 184.9 kB / 496.1 MB, free: 12.86 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.544/1.544, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0009514/0.0009514, allocations: 91.97 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.939e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3016, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.308, allocations: 152.9 MB / 1.368 GB, free: 1.086 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003785/1.309, allocations: 78.2 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02707/1.336, allocations: 10.02 MB / 1.378 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/1.336, allocations: 0 / 1.378 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.812e-05/1.336, allocations: 11.94 kB / 1.378 GB, free: 8.051 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001256/1.337, allocations: 0.731 MB / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.337, allocations: 12.03 kB / 1.379 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006173/1.338, allocations: 114.9 kB / 1.379 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/1.339, allocations: 0.5148 MB / 1.379 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/1.339, allocations: 7.375 kB / 1.379 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/1.339, allocations: 19.25 kB / 1.379 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/1.339, allocations: 219.7 kB / 1.38 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.339, allocations: 4 kB / 1.38 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/1.339, allocations: 3.625 kB / 1.38 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/1.339, allocations: 4 kB / 1.38 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/1.34, allocations: 250 kB / 1.38 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/1.341, allocations: 0.9751 MB / 1.381 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/1.342, allocations: 355.8 kB / 1.381 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/1.342, allocations: 115.8 kB / 1.381 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008036/1.343, allocations: 328.8 kB / 1.382 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/1.343, allocations: 42.44 kB / 1.382 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/1.343, allocations: 3.938 kB / 1.382 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0005914/1.344, allocations: 330.9 kB / 1.382 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.344, allocations: 55.36 kB / 1.382 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/1.345, allocations: 0.8988 MB / 1.383 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/1.345, allocations: 25.7 kB / 1.383 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/1.345, allocations: 347 kB / 1.383 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/1.345, allocations: 34.91 kB / 1.383 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/1.345, allocations: 3 kB / 1.383 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.346, allocations: 310 kB / 1.383 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/1.346, allocations: 112.7 kB / 1.384 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/1.346, allocations: 107.1 kB / 1.384 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/1.346, allocations: 118.4 kB / 1.384 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.346, allocations: 0 / 1.384 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000514/1.347, allocations: 337.6 kB / 1.384 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.347, allocations: 4 kB / 1.384 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.347, allocations: 0 / 1.384 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.347, allocations: 0 / 1.384 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/1.347, allocations: 39.72 kB / 1.384 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.347, allocations: 4 kB / 1.384 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/1.347, allocations: 19.88 kB / 1.384 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/1.347, allocations: 12 kB / 1.384 GB, free: 2.758 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.696e-05/1.347, allocations: 108.5 kB / 1.384 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.347, allocations: 71.06 kB / 1.384 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007199/1.348, allocations: 407.5 kB / 1.385 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.348, allocations: 0 / 1.385 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.348, allocations: 0 / 1.385 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/1.348, allocations: 4 kB / 1.385 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/1.349, allocations: 0.5422 MB / 1.385 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.349, allocations: 0 / 1.385 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/1.349, allocations: 39.72 kB / 1.385 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.349, allocations: 0 / 1.385 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/1.349, allocations: 4 kB / 1.385 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.349, allocations: 0 / 1.385 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.349, allocations: 3.984 kB / 1.385 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/1.35, allocations: 449.3 kB / 1.386 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/1.35, allocations: 199.6 kB / 1.386 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/1.35, allocations: 3.438 kB / 1.386 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/1.35, allocations: 15.98 kB / 1.386 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/1.35, allocations: 11.98 kB / 1.386 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/1.35, allocations: 11.44 kB / 1.386 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009216/1.351, allocations: 0.7164 MB / 1.387 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.637e-06/1.351, allocations: 0 / 1.387 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004082/1.352, allocations: 83.19 kB / 1.387 GB, free: 0.543 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0003742/1.352, allocations: 160.1 kB / 1.387 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002873/1.352, allocations: 186.7 kB / 1.387 GB, free: 252 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.352, allocations: 0 / 1.387 GB, free: 252 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/1.352, allocations: 96.36 kB / 1.387 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/1.353, allocations: 61 kB / 1.387 GB, free: 152 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.354, allocations: 0.8467 MB / 1.388 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/1.355, allocations: 0.9623 MB / 1.389 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002431/1.355, allocations: 77.23 kB / 1.389 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/1.356, allocations: 35.42 kB / 1.389 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of SimCode: time 6.12e-07/1.356, allocations: 0 / 1.389 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.01286/1.368, allocations: 5.129 MB / 1.394 GB, free: 9.219 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches