Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 80.3 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 170 kB / 24.86 MB, free: 8.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.889/1.889, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.49e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003855/0.003879, allocations: 2.255 MB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.005369, allocations: 0.9135 MB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.005502, allocations: 4 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.006093, allocations: 179.2 kB / 0.8161 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.006278, allocations: 76.72 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.006714, allocations: 117.7 kB / 0.8163 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.007012, allocations: 235 kB / 0.8165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.0072, allocations: 54.06 kB / 0.8165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.007382, allocations: 123.6 kB / 0.8166 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.007484, allocations: 67.73 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.007517, allocations: 17.41 kB / 0.8167 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.007827, allocations: 147.7 kB / 0.8169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.008016, allocations: 219.3 kB / 0.8171 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.008156, allocations: 140.6 kB / 0.8172 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.008732, allocations: 477.9 kB / 0.8177 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.008736, allocations: 0 / 0.8177 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.433e-06/0.008737, allocations: 0 / 0.8177 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.008746, allocations: 0.5312 kB / 0.8177 GB, free: 12.45 MB / 0.7761 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.001326/0.01007, allocations: 1.042 MB / 0.8187 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01011, allocations: 8.906 kB / 0.8187 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004501/0.01056, allocations: 127 kB / 0.8188 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.01107, allocations: 416.8 kB / 0.8192 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.01109, allocations: 8.375 kB / 0.8192 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.01111, allocations: 12.38 kB / 0.8192 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.01137, allocations: 116.9 kB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01138, allocations: 8.188 kB / 0.8194 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.01139, allocations: 5.219 kB / 0.8194 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.0114, allocations: 4.375 kB / 0.8194 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.01151, allocations: 45.17 kB / 0.8194 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.01235, allocations: 0.5776 MB / 0.82 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.01259, allocations: 80.64 kB / 0.82 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.01264, allocations: 29.38 kB / 0.8201 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004802/0.01312, allocations: 144.1 kB / 0.8202 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.01315, allocations: 33.39 kB / 0.8202 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.01315, allocations: 0 / 0.8202 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0003361/0.01349, allocations: 168.1 kB / 0.8204 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.01353, allocations: 59.28 kB / 0.8205 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009359/0.01446, allocations: 0.8272 MB / 0.8213 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01448, allocations: 29.7 kB / 0.8213 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.01486, allocations: 454.7 kB / 0.8217 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.01489, allocations: 31.69 kB / 0.8218 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.01495, allocations: 31.36 kB / 0.8218 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01509, allocations: 493.4 kB / 0.8223 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.01513, allocations: 11.98 kB / 0.8223 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.01519, allocations: 48.11 kB / 0.8223 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.0153, allocations: 68.09 kB / 0.8224 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0153, allocations: 1.031 kB / 0.8224 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002456/0.01555, allocations: 158.3 kB / 0.8225 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.01557, allocations: 8 kB / 0.8225 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01557, allocations: 1.031 kB / 0.8225 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.01558, allocations: 0 / 0.8225 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01572, allocations: 31.14 kB / 0.8226 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.01572, allocations: 3.938 kB / 0.8226 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01584, allocations: 4 kB / 0.8226 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01585, allocations: 8 kB / 0.8226 GB, free: 7.211 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.01595, allocations: 152.6 kB / 0.8227 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.01602, allocations: 87.47 kB / 0.8228 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.01622, allocations: 151.5 kB / 0.823 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01622, allocations: 0 / 0.823 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01623, allocations: 3.938 kB / 0.823 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01623, allocations: 0 / 0.823 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.0165, allocations: 328.8 kB / 0.8233 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.0165, allocations: 0 / 0.8233 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.01657, allocations: 23.92 kB / 0.8233 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01657, allocations: 0 / 0.8233 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.01658, allocations: 0 / 0.8233 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01658, allocations: 8 kB / 0.8233 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01658, allocations: 4 kB / 0.8233 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.01676, allocations: 299.8 kB / 0.8236 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.01687, allocations: 95.44 kB / 0.8237 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.01689, allocations: 4 kB / 0.8237 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.01697, allocations: 7.938 kB / 0.8237 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.01699, allocations: 7.984 kB / 0.8237 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.017, allocations: 0 / 0.8237 GB, free: 6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003143/0.01731, allocations: 0.5026 MB / 0.8242 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01731, allocations: 0 / 0.8242 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002389/0.01755, allocations: 75.88 kB / 0.8243 GB, free: 5.43 MB / 0.7761 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.0177, allocations: 109.6 kB / 0.8244 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.01781, allocations: 55.67 kB / 0.8244 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01781, allocations: 4 kB / 0.8244 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.01785, allocations: 35.73 kB / 0.8245 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.01815, allocations: 59.42 kB / 0.8245 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.01942, allocations: 0.9687 MB / 0.8255 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.01953, allocations: 181 kB / 0.8256 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.01965, allocations: 65.31 kB / 0.8257 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.01977, allocations: 122.2 kB / 0.8258 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.01977, allocations: 0 / 0.8258 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of Templates: time 0.008766/0.02854, allocations: 4.973 MB / 0.8307 GB, free: 14.83 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.106035819742829]