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.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.0007794/0.0007794, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001916, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006906/0.0006906, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009723/0.001663, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9406/0.9406, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08806/1.029, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.386/2.386, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.246/2.632, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_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 1.393e-06/1.393e-06, allocations: 0 / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.657e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002431/0.002447, allocations: 2.328 MB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003451, allocations: 0.9366 MB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.003534, allocations: 0 / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.003893, allocations: 175.1 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.003994, allocations: 83.38 kB / 0.8224 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.004235, allocations: 107.7 kB / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.004429, allocations: 227 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004553, allocations: 68 kB / 0.8228 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.004717, allocations: 178.7 kB / 0.8229 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.004785, allocations: 75.67 kB / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.004807, allocations: 16 kB / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.00502, allocations: 147.7 kB / 0.8232 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.00514, allocations: 211.4 kB / 0.8234 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/0.00522, allocations: 103.6 kB / 0.8235 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.005558, allocations: 449.9 kB / 0.8239 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.005569, allocations: 0 / 0.8239 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00557, allocations: 0 / 0.8239 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.005582, allocations: 0 / 0.8239 GB, free: 13.37 MB / 0.8073 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.0007886/0.006371, allocations: 0.9599 MB / 0.8248 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.006402, allocations: 12.03 kB / 0.8248 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.006714, allocations: 169.9 kB / 0.825 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.007004, allocations: 390.1 kB / 0.8254 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.00702, allocations: 8.375 kB / 0.8254 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.007037, allocations: 12.38 kB / 0.8254 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.007214, allocations: 117.7 kB / 0.8255 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.007222, allocations: 192 / 0.8255 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.007235, allocations: 12.36 kB / 0.8255 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00724, allocations: 4.375 kB / 0.8255 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/0.007296, allocations: 39.84 kB / 0.8256 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.007736, allocations: 393.4 kB / 0.8259 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.007895, allocations: 112.1 kB / 0.826 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.007922, allocations: 24.86 kB / 0.8261 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.008206, allocations: 147.8 kB / 0.8262 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.008224, allocations: 30.56 kB / 0.8262 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.008225, allocations: 4 kB / 0.8262 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001641/0.00839, allocations: 105.6 kB / 0.8263 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.008412, allocations: 51.41 kB / 0.8264 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.0088, allocations: 0.6365 MB / 0.827 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.008813, allocations: 29.7 kB / 0.827 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.008912, allocations: 206 kB / 0.8272 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.00893, allocations: 39.62 kB / 0.8273 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.008967, allocations: 29.7 kB / 0.8273 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.009034, allocations: 322 kB / 0.8276 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.009056, allocations: 10.83 kB / 0.8276 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.009095, allocations: 30.56 kB / 0.8277 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.009155, allocations: 61.31 kB / 0.8277 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009157, allocations: 0 / 0.8277 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001085/0.009265, allocations: 112.4 kB / 0.8278 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.009277, allocations: 4 kB / 0.8278 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.009281, allocations: 0 / 0.8278 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.009292, allocations: 7.938 kB / 0.8278 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.00938, allocations: 23.97 kB / 0.8279 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.009385, allocations: 7.938 kB / 0.8279 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.009444, allocations: 15.94 kB / 0.8279 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.00945, allocations: 0 / 0.8279 GB, free: 9.074 MB / 0.8073 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 8.448e-05/0.009534, allocations: 120.7 kB / 0.828 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.009575, allocations: 39.94 kB / 0.828 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.009731, allocations: 144.6 kB / 0.8282 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.009733, allocations: 0 / 0.8282 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.009734, allocations: 0 / 0.8282 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.009738, allocations: 3.938 kB / 0.8282 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.009947, allocations: 245.5 kB / 0.8284 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009948, allocations: 0 / 0.8284 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.01002, allocations: 23.92 kB / 0.8284 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.0101, allocations: 91.39 kB / 0.8285 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.0101, allocations: 0 / 0.8285 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01011, allocations: 12 kB / 0.8285 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.01011, allocations: 3.984 kB / 0.8285 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01012, allocations: 3.938 kB / 0.8285 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.01025, allocations: 238.7 kB / 0.8288 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.01027, allocations: 3.984 kB / 0.8288 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.01034, allocations: 8 kB / 0.8288 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.01037, allocations: 7.922 kB / 0.8288 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.01037, allocations: 4 kB / 0.8288 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002298/0.0106, allocations: 344.5 kB / 0.8291 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 0 / 0.8291 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001823/0.01078, allocations: 67.89 kB / 0.8292 GB, free: 7.688 MB / 0.8073 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.0001217/0.0109, allocations: 92.34 kB / 0.8293 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.01101, allocations: 44.78 kB / 0.8293 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.01102, allocations: 8 kB / 0.8293 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.01106, allocations: 40.97 kB / 0.8294 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.0114, allocations: 311.6 kB / 0.8297 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.01332, allocations: 0.9763 MB / 0.8306 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.01343, allocations: 177 kB / 0.8308 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.01353, allocations: 61.33 kB / 0.8308 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.01364, allocations: 107.4 kB / 0.8309 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.01364, allocations: 0 / 0.8309 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of Templates: time 0.007883/0.02153, allocations: 4.845 MB / 0.8357 GB, free: 1.031 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.107922534458339]