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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.936/1.936, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.000997/0.000997, allocations: 169.4 kB / 490.8 MB, free: 1.934 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.282/1.282, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0008965/0.0008966, allocations: 90.48 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.694e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2323, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6643/0.8967, allocations: 152.2 MB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.897, allocations: 80.06 kB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02489/0.9219, allocations: 9.58 MB / 1.37 GB, free: 15.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.226e-05/0.922, allocations: 10.22 kB / 1.37 GB, free: 15.93 MB / 0.823 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.001107/0.9231, allocations: 0.7313 MB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.9231, allocations: 9 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.9238, allocations: 127 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.9247, allocations: 0.5245 MB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.9247, allocations: 3.469 kB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.9248, allocations: 7.656 kB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004447/0.9252, allocations: 264 kB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.9256, allocations: 204.1 kB / 1.371 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.9256, allocations: 7.984 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.9256, allocations: 0 / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.9256, allocations: 3.375 kB / 1.371 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.9272, allocations: 0.9353 MB / 1.372 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.9279, allocations: 370.6 kB / 1.373 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.9281, allocations: 123.2 kB / 1.373 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/0.9289, allocations: 324.5 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.9289, allocations: 44.84 kB / 1.373 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.9289, allocations: 0 / 1.373 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.001225/0.9301, allocations: 447.8 kB / 1.374 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.9302, allocations: 52.41 kB / 1.374 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.9316, allocations: 0.8651 MB / 1.375 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.9316, allocations: 25.7 kB / 1.375 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.9318, allocations: 183.2 kB / 1.375 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.9318, allocations: 29.8 kB / 1.375 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.9318, allocations: 3.938 kB / 1.375 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.932, allocations: 312.3 kB / 1.375 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.9322, allocations: 115.1 kB / 1.375 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.9323, allocations: 111.9 kB / 1.375 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.9331, allocations: 233.8 kB / 1.375 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9331, allocations: 4.906 kB / 1.375 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001073/0.9342, allocations: 455.1 kB / 1.376 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.9342, allocations: 7.594 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9342, allocations: 1.062 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.9342, allocations: 0.6094 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.9345, allocations: 32.55 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.9345, allocations: 4 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.9347, allocations: 18.97 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.9348, allocations: 10.19 kB / 1.376 GB, free: 29.71 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.109e-05/0.9349, allocations: 109.6 kB / 1.376 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.935, allocations: 72.34 kB / 1.376 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.9364, allocations: 0.5285 MB / 1.377 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.9364, allocations: 1.094 kB / 1.377 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9365, allocations: 0 / 1.377 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9365, allocations: 2.422 kB / 1.377 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.9372, allocations: 0.5229 MB / 1.377 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9372, allocations: 0 / 1.377 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.9374, allocations: 42.67 kB / 1.377 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.9374, allocations: 5.391 kB / 1.377 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.9374, allocations: 3.438 kB / 1.377 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9374, allocations: 0 / 1.377 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9375, allocations: 1.188 kB / 1.377 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001133/0.9386, allocations: 0.538 MB / 1.378 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.9389, allocations: 206.7 kB / 1.378 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.939, allocations: 4 kB / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.9392, allocations: 13.86 kB / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.9392, allocations: 7.219 kB / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.9393, allocations: 14.41 kB / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001121/0.9404, allocations: 0.6761 MB / 1.379 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004213/0.9408, allocations: 78.23 kB / 1.379 GB, free: 28.9 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.0003467/0.9412, allocations: 170.4 kB / 1.379 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.9415, allocations: 185.8 kB / 1.379 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9415, allocations: 1.281 kB / 1.379 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.9417, allocations: 98.11 kB / 1.379 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.942, allocations: 52.25 kB / 1.379 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.9439, allocations: 0.8521 MB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/0.9448, allocations: 0.9942 MB / 1.381 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/0.9448, allocations: 0 / 1.381 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.01178/0.9566, allocations: 3.356 MB / 1.384 GB, free: 27.27 MB / 0.8386 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