Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001358/0.001358, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.00155/0.00155, allocations: 201.6 kB / 22.17 MB, free: 5.199 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.469/1.469, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.88 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8157, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003697/0.8194, allocations: 2.281 MB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.8208, allocations: 0.9555 MB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.8209, allocations: 0 / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.8214, allocations: 198.7 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.8216, allocations: 71.44 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.8219, allocations: 115.7 kB / 1.278 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.8222, allocations: 223 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.8224, allocations: 73.7 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.8225, allocations: 79.59 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.8226, allocations: 103.4 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.8226, allocations: 20 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.8229, allocations: 147.8 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.8231, allocations: 223.3 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.8234, allocations: 258.1 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000835/0.8242, allocations: 0.7297 MB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8242, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8242, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.8242, allocations: 4 kB / 1.279 GB, free: 15.1 MB / 0.9825 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.001359/0.8256, allocations: 1.002 MB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.8256, allocations: 12.03 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.8262, allocations: 124.3 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008528/0.8271, allocations: 0.5942 MB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.8271, allocations: 12.38 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.8271, allocations: 12.38 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.8276, allocations: 202.1 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8276, allocations: 192 / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.8276, allocations: 11.92 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.8276, allocations: 8 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.8281, allocations: 223.9 kB / 1.282 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.8295, allocations: 0.914 MB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.8302, allocations: 318.3 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.8304, allocations: 101 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007973/0.8312, allocations: 244.9 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.8313, allocations: 30.56 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.8313, allocations: 0 / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008942/0.8322, allocations: 397 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.8322, allocations: 59.41 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.8335, allocations: 0.9934 MB / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.8335, allocations: 37.62 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.8338, allocations: 348.1 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.8339, allocations: 35.72 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.8339, allocations: 21.72 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8341, allocations: 318 kB / 1.285 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.8343, allocations: 91.95 kB / 1.285 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.8345, allocations: 126.5 kB / 1.285 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.835, allocations: 218.4 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.835, allocations: 4 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006059/0.8356, allocations: 321.3 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.8356, allocations: 4 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.8356, allocations: 4.062 kB / 1.286 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8356, allocations: 4.094 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.8358, allocations: 23.92 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.8358, allocations: 11.92 kB / 1.286 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.836, allocations: 7.953 kB / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.836, allocations: 8 kB / 1.286 GB, free: 8.059 MB / 0.9825 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.0002783/0.8363, allocations: 251.3 kB / 1.286 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.8364, allocations: 79.42 kB / 1.286 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/0.837, allocations: 328.4 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.837, allocations: 3.984 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.837, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.837, allocations: 4 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.8377, allocations: 0.5246 MB / 1.287 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.8377, allocations: 3.938 kB / 1.287 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.8378, allocations: 23.98 kB / 1.287 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8378, allocations: 3.938 kB / 1.287 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.8379, allocations: 7.984 kB / 1.287 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8379, allocations: 0 / 1.287 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8379, allocations: 0 / 1.287 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/0.8385, allocations: 410.9 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.8388, allocations: 188.5 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.8388, allocations: 4 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.839, allocations: 4 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.839, allocations: 7.984 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.839, allocations: 3.938 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009213/0.84, allocations: 0.7215 MB / 1.288 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.84, allocations: 8 kB / 1.288 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003517/0.8403, allocations: 67.89 kB / 1.289 GB, free: 5.34 MB / 0.9825 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.0002134/0.8405, allocations: 115.7 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.841, allocations: 212.1 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.841, allocations: 4 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.8413, allocations: 111.9 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.8417, allocations: 55.45 kB / 1.289 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.8435, allocations: 1.184 MB / 1.29 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.8442, allocations: 0.944 MB / 1.291 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00018/0.8443, allocations: 73.33 kB / 1.291 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8444, allocations: 31.44 kB / 1.291 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8444, allocations: 0 / 1.291 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of Templates: time 0.01068/0.8551, allocations: 4.513 MB / 1.296 GB, free: 14.05 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.796617066022009]