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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 190.6 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.436/3.436, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 72.12 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4773, allocations: 174.9 MB / 1.316 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004062/0.4814, allocations: 2.285 MB / 1.318 GB, free: 7.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.483, allocations: 0.9633 MB / 1.319 GB, free: 6.418 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.4831, allocations: 4 kB / 1.319 GB, free: 6.414 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.4837, allocations: 194.8 kB / 1.319 GB, free: 6.223 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.4839, allocations: 71.5 kB / 1.319 GB, free: 6.152 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.4843, allocations: 115.7 kB / 1.32 GB, free: 6.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.4846, allocations: 219 kB / 1.32 GB, free: 5.824 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.4848, allocations: 69.98 kB / 1.32 GB, free: 5.746 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.4849, allocations: 87.58 kB / 1.32 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.485, allocations: 103.3 kB / 1.32 GB, free: 5.559 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.4851, allocations: 16 kB / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.4854, allocations: 159.8 kB / 1.32 GB, free: 5.387 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.4856, allocations: 223.3 kB / 1.32 GB, free: 5.168 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.4859, allocations: 262.1 kB / 1.321 GB, free: 4.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008711/0.4867, allocations: 0.7269 MB / 1.321 GB, free: 4.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.4868, allocations: 4 kB / 1.321 GB, free: 4.176 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4868, allocations: 0 / 1.321 GB, free: 4.176 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.4868, allocations: 0 / 1.321 GB, free: 4.176 MB / 1.014 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.001484/0.4883, allocations: 0.9226 MB / 1.322 GB, free: 3.215 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4883, allocations: 8.031 kB / 1.322 GB, free: 3.207 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/0.4889, allocations: 124.3 kB / 1.322 GB, free: 3.086 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.4899, allocations: 0.5377 MB / 1.323 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.4899, allocations: 8.375 kB / 1.323 GB, free: 2.512 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.4899, allocations: 12.38 kB / 1.323 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.4904, allocations: 202.2 kB / 1.323 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4904, allocations: 4.188 kB / 1.323 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4904, allocations: 11.92 kB / 1.323 GB, free: 2.281 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4904, allocations: 4 kB / 1.323 GB, free: 2.277 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.4909, allocations: 223.9 kB / 1.323 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.4924, allocations: 0.8818 MB / 1.324 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.4931, allocations: 306.5 kB / 1.325 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.4933, allocations: 108.9 kB / 1.325 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.4941, allocations: 163.8 kB / 1.325 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.4941, allocations: 34.56 kB / 1.325 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.4941, allocations: 3.938 kB / 1.325 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0009481/0.4951, allocations: 405 kB / 1.325 GB, free: 108 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4951, allocations: 55.34 kB / 1.325 GB, free: 40 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.4964, allocations: 1.001 MB / 1.326 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4964, allocations: 25.7 kB / 1.326 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.4967, allocations: 344.1 kB / 1.327 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.4968, allocations: 31.73 kB / 1.327 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.4969, allocations: 29.7 kB / 1.327 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.497, allocations: 310.4 kB / 1.327 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.4972, allocations: 95.95 kB / 1.327 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.4975, allocations: 118.5 kB / 1.327 GB, free: 14.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.4979, allocations: 222.4 kB / 1.327 GB, free: 13.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4979, allocations: 0 / 1.327 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005998/0.4985, allocations: 325 kB / 1.328 GB, free: 13.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4985, allocations: 8 kB / 1.328 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4985, allocations: 0 / 1.328 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4986, allocations: 0 / 1.328 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.4987, allocations: 31.91 kB / 1.328 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4987, allocations: 0 / 1.328 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.4989, allocations: 20.02 kB / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.4989, allocations: 7.984 kB / 1.328 GB, free: 13.44 MB / 1.029 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.0003955/0.4993, allocations: 241.8 kB / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4994, allocations: 79.42 kB / 1.328 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008384/0.5003, allocations: 328.4 kB / 1.328 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5003, allocations: 3.984 kB / 1.328 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5003, allocations: 4 kB / 1.328 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5003, allocations: 0 / 1.328 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.501, allocations: 0.508 MB / 1.329 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.501, allocations: 3.938 kB / 1.329 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.5012, allocations: 31.84 kB / 1.329 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5012, allocations: 0 / 1.329 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.5012, allocations: 4 kB / 1.329 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5012, allocations: 4.188 kB / 1.329 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5012, allocations: 0 / 1.329 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.5018, allocations: 410.8 kB / 1.329 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.5021, allocations: 111.4 kB / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.5021, allocations: 4 kB / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.5023, allocations: 8 kB / 1.329 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.5024, allocations: 7.984 kB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.5024, allocations: 4 kB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009726/0.5033, allocations: 0.7176 MB / 1.33 GB, free: 10.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5033, allocations: 0 / 1.33 GB, free: 10.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003639/0.5037, allocations: 71.89 kB / 1.33 GB, free: 10.86 MB / 1.029 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.0002178/0.5039, allocations: 111.7 kB / 1.33 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.5044, allocations: 207.8 kB / 1.33 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5044, allocations: 0 / 1.33 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.5046, allocations: 111.9 kB / 1.331 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.505, allocations: 52.94 kB / 1.331 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.5071, allocations: 1.177 MB / 1.332 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.5078, allocations: 0.9454 MB / 1.333 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.508, allocations: 85.78 kB / 1.333 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.5081, allocations: 31.44 kB / 1.333 GB, free: 8.082 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.5081, allocations: 0 / 1.333 GB, free: 8.082 MB / 1.029 GB Notification: Performance of Templates: time 0.0119/0.52, allocations: 4.538 MB / 1.337 GB, free: 3.551 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.289586360566318]