Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009786/0.0009785, allocations: 191.1 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.000885, allocations: 93.77 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.749e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2039, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7134/0.9174, allocations: 134.9 MB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.9177, allocations: 87.66 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02352/0.9412, allocations: 9.792 MB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9412, allocations: 0 / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.9413, allocations: 8 kB / 1.027 GB, free: 10.36 MB / 0.6511 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.0007725/0.942, allocations: 0.7409 MB / 1.027 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.9421, allocations: 8.031 kB / 1.027 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004688/0.9426, allocations: 111 kB / 1.027 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.9431, allocations: 0.5191 MB / 1.028 GB, free: 9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.9432, allocations: 4 kB / 1.028 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.9432, allocations: 12 kB / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003324/0.9435, allocations: 246.2 kB / 1.028 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.9439, allocations: 196.7 kB / 1.028 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.9439, allocations: 3.984 kB / 1.028 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.9439, allocations: 0 / 1.028 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9439, allocations: 4 kB / 1.028 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.9451, allocations: 0.9306 MB / 1.029 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.9456, allocations: 344.7 kB / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.9457, allocations: 119.7 kB / 1.03 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.9465, allocations: 328.3 kB / 1.03 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.9465, allocations: 41.94 kB / 1.03 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.9465, allocations: 0 / 1.03 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0009868/0.9475, allocations: 413.6 kB / 1.031 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.9475, allocations: 58.77 kB / 1.031 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.9484, allocations: 0.832 MB / 1.031 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.9485, allocations: 25.7 kB / 1.031 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.9487, allocations: 346.6 kB / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.9488, allocations: 34.92 kB / 1.032 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.9488, allocations: 0 / 1.032 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9489, allocations: 317.9 kB / 1.032 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.9491, allocations: 106.4 kB / 1.032 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.9492, allocations: 103.1 kB / 1.032 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.9499, allocations: 207.3 kB / 1.032 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9499, allocations: 0 / 1.032 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009365/0.9509, allocations: 414.9 kB / 1.033 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.9509, allocations: 8 kB / 1.033 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.9509, allocations: 0 / 1.033 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.9509, allocations: 0 / 1.033 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.9512, allocations: 35.97 kB / 1.033 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9512, allocations: 0 / 1.033 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.9514, allocations: 15.92 kB / 1.033 GB, free: 5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.9514, allocations: 12 kB / 1.033 GB, free: 4.988 MB / 0.6511 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 0.0001137/0.9515, allocations: 104.9 kB / 1.033 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.9517, allocations: 75.06 kB / 1.033 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.9528, allocations: 489.6 kB / 1.034 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.9528, allocations: 4 kB / 1.034 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9528, allocations: 4 kB / 1.034 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9528, allocations: 0 / 1.034 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.9534, allocations: 0.5146 MB / 1.034 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9534, allocations: 0 / 1.034 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.9536, allocations: 39.09 kB / 1.034 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.9536, allocations: 0 / 1.034 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.9537, allocations: 7.984 kB / 1.034 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9537, allocations: 0 / 1.034 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.9537, allocations: 0.7031 kB / 1.034 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.9546, allocations: 0.5124 MB / 1.035 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.9549, allocations: 196.5 kB / 1.035 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.9549, allocations: 0 / 1.035 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.9551, allocations: 11.98 kB / 1.035 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.9552, allocations: 7.984 kB / 1.035 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.9552, allocations: 23.31 kB / 1.035 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007159/0.9559, allocations: 0.658 MB / 1.036 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9559, allocations: 0 / 1.036 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000342/0.9563, allocations: 71.84 kB / 1.036 GB, free: 2.742 MB / 0.6511 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.0003439/0.9566, allocations: 168.2 kB / 1.036 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.9569, allocations: 184.3 kB / 1.036 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9569, allocations: 4 kB / 1.036 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.957, allocations: 99.03 kB / 1.036 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.9574, allocations: 58.3 kB / 1.036 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.9586, allocations: 0.8396 MB / 1.037 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.9592, allocations: 0.9548 MB / 1.038 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.9594, allocations: 73.25 kB / 1.038 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.162e-05/0.9595, allocations: 31.44 kB / 1.038 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.9595, allocations: 0 / 1.038 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of Templates: time 0.00852/0.968, allocations: 3.705 MB / 1.042 GB, free: 12.86 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches