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.001959/0.001959, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002001/0.002001, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.62/1.62, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 3.168/3.168, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.225e-06/2.225e-06, allocations: 0 / 0.8108 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.412e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004335/0.004369, allocations: 2.253 MB / 0.813 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.006108, allocations: 0.9295 MB / 0.8139 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.006208, allocations: 4 kB / 0.8139 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.006814, allocations: 175.2 kB / 0.8141 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.006975, allocations: 76.16 kB / 0.8142 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.007428, allocations: 120.8 kB / 0.8143 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.007764, allocations: 227 kB / 0.8145 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.007942, allocations: 63.42 kB / 0.8146 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.008126, allocations: 119.7 kB / 0.8147 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.008259, allocations: 71.73 kB / 0.8147 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.008313, allocations: 17.59 kB / 0.8148 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.008643, allocations: 143.8 kB / 0.8149 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.008928, allocations: 219.3 kB / 0.8151 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.009142, allocations: 135.5 kB / 0.8152 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.01024, allocations: 0.7089 MB / 0.8159 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.01025, allocations: 0 / 0.8159 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.214e-06/0.01025, allocations: 0.9688 kB / 0.8159 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.01026, allocations: 0 / 0.8159 GB, free: 11.71 MB / 0.7292 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.00193/0.01219, allocations: 1.074 MB / 0.817 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.01224, allocations: 12.03 kB / 0.817 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005597/0.0128, allocations: 130.8 kB / 0.8171 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007764/0.01358, allocations: 448.9 kB / 0.8175 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.0136, allocations: 10.5 kB / 0.8175 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.01363, allocations: 16.31 kB / 0.8176 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.01396, allocations: 130.1 kB / 0.8177 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01397, allocations: 192 / 0.8177 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.01399, allocations: 8.375 kB / 0.8177 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.01399, allocations: 2.594 kB / 0.8177 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.01432, allocations: 99.89 kB / 0.8178 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.01574, allocations: 0.8158 MB / 0.8186 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.01623, allocations: 137.5 kB / 0.8187 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.01637, allocations: 48.88 kB / 0.8188 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006796/0.01705, allocations: 165.5 kB / 0.8189 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.01709, allocations: 33.39 kB / 0.819 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.01709, allocations: 0 / 0.819 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0006446/0.01773, allocations: 218.7 kB / 0.8192 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.01779, allocations: 59.89 kB / 0.8192 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.01915, allocations: 0.9656 MB / 0.8202 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.01917, allocations: 25.7 kB / 0.8202 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.01969, allocations: 450.9 kB / 0.8206 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.01973, allocations: 39.67 kB / 0.8207 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.01981, allocations: 35.86 kB / 0.8207 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003074/0.02012, allocations: 497 kB / 0.8212 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.02025, allocations: 34.08 kB / 0.8212 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.02041, allocations: 67.03 kB / 0.8213 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.02069, allocations: 97.11 kB / 0.8214 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.0207, allocations: 0 / 0.8214 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004431/0.02114, allocations: 197.1 kB / 0.8215 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.02116, allocations: 7.938 kB / 0.8215 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.02117, allocations: 4 kB / 0.8216 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.02119, allocations: 3.938 kB / 0.8216 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.02134, allocations: 23.92 kB / 0.8216 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.02135, allocations: 4 kB / 0.8216 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.02148, allocations: 15.89 kB / 0.8216 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.0215, allocations: 8.047 kB / 0.8216 GB, free: 5.684 MB / 0.7292 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.0001955/0.02169, allocations: 176.6 kB / 0.8218 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.02181, allocations: 75.48 kB / 0.8218 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.02232, allocations: 192.6 kB / 0.822 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.02233, allocations: 3.938 kB / 0.822 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.02233, allocations: 4 kB / 0.822 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.02234, allocations: 0 / 0.822 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.02305, allocations: 0.5042 MB / 0.8225 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.02305, allocations: 0 / 0.8225 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.02317, allocations: 19.98 kB / 0.8225 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.02318, allocations: 4 kB / 0.8226 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.02319, allocations: 7.938 kB / 0.8226 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.02319, allocations: 3.984 kB / 0.8226 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.0232, allocations: 3.938 kB / 0.8226 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.0237, allocations: 332 kB / 0.8229 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.02395, allocations: 103.4 kB / 0.823 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.024, allocations: 4 kB / 0.823 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.02415, allocations: 11.98 kB / 0.823 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.02421, allocations: 7.938 kB / 0.823 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.02422, allocations: 7.984 kB / 0.823 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009483/0.02517, allocations: 0.5809 MB / 0.8236 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.02517, allocations: 0 / 0.8236 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003449/0.02551, allocations: 67.89 kB / 0.8236 GB, free: 3.523 MB / 0.7292 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.0002378/0.02575, allocations: 115.2 kB / 0.8238 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.02613, allocations: 103.7 kB / 0.8239 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02613, allocations: 0 / 0.8239 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.02629, allocations: 59.59 kB / 0.8239 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.02672, allocations: 59.31 kB / 0.824 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.02844, allocations: 0.9883 MB / 0.8249 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.02886, allocations: 333.5 kB / 0.8253 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.02904, allocations: 61.33 kB / 0.8253 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.02914, allocations: 32.5 kB / 0.8253 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.02914, allocations: 0 / 0.8253 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of Templates: time 0.01191/0.04105, allocations: 4.572 MB / 0.8298 GB, free: 13.17 MB / 0.7448 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.691363213933073]