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.001831/0.001831, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.002166/0.002167, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 489.3 MB / 0.7687 GB, free: 3.957 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002214/0.002214, allocations: 71.89 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9702, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003626/0.9739, allocations: 2.275 MB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.9754, allocations: 0.9412 MB / 1.266 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.9755, allocations: 2.531 kB / 1.266 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.9762, allocations: 202.4 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.9763, allocations: 66.36 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.9768, allocations: 111.3 kB / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.9771, allocations: 220 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.9773, allocations: 95.23 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.9774, allocations: 85.81 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.9776, allocations: 101.4 kB / 1.267 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.9776, allocations: 16.94 kB / 1.267 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.978, allocations: 152.5 kB / 1.267 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.9782, allocations: 218 kB / 1.267 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.9785, allocations: 267.5 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.9794, allocations: 0.7218 MB / 1.268 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9794, allocations: 0.8438 kB / 1.268 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9794, allocations: 0 / 1.268 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.9795, allocations: 4 kB / 1.268 GB, free: 4.672 MB / 0.9981 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.001232/0.9807, allocations: 0.9972 MB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9808, allocations: 9.562 kB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/0.9813, allocations: 129.9 kB / 1.269 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.9822, allocations: 0.5961 MB / 1.27 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.9822, allocations: 9.594 kB / 1.27 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.9822, allocations: 12.28 kB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.9827, allocations: 193.8 kB / 1.27 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.9827, allocations: 192 / 1.27 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.9827, allocations: 12.97 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.9827, allocations: 2.656 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.9833, allocations: 226.3 kB / 1.27 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.9845, allocations: 0.9213 MB / 1.271 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.9853, allocations: 314.2 kB / 1.271 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.9855, allocations: 114.8 kB / 1.271 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008587/0.9864, allocations: 236.4 kB / 1.272 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.9864, allocations: 35.19 kB / 1.272 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.9864, allocations: 1.312 kB / 1.272 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001023/0.9875, allocations: 408 kB / 1.272 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.9875, allocations: 53.73 kB / 1.272 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.989, allocations: 0.9949 MB / 1.273 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.989, allocations: 30.89 kB / 1.273 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.9893, allocations: 346.7 kB / 1.273 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.9893, allocations: 32.78 kB / 1.273 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.9894, allocations: 28.67 kB / 1.273 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.9894, allocations: 310 kB / 1.274 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.9897, allocations: 97.78 kB / 1.274 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.9899, allocations: 121.8 kB / 1.274 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.9904, allocations: 221.8 kB / 1.274 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9904, allocations: 1.406 kB / 1.274 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006219/0.991, allocations: 321.6 kB / 1.274 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.991, allocations: 6.312 kB / 1.274 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.991, allocations: 9.469 kB / 1.274 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.9911, allocations: 0.5 kB / 1.274 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.9913, allocations: 28.14 kB / 1.275 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.9913, allocations: 2.188 kB / 1.275 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.9915, allocations: 11.98 kB / 1.275 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.9915, allocations: 3.344 kB / 1.275 GB, free: 0.8594 MB / 0.9981 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.0002575/0.9918, allocations: 251.6 kB / 1.275 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.9918, allocations: 79.58 kB / 1.275 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.9925, allocations: 335.6 kB / 1.275 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.9925, allocations: 1.969 kB / 1.275 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9925, allocations: 3.938 kB / 1.275 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.9925, allocations: 0 / 1.275 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.9931, allocations: 0.5224 MB / 1.276 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.9931, allocations: 3.938 kB / 1.276 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.9933, allocations: 28.48 kB / 1.276 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9933, allocations: 1.219 kB / 1.276 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.9933, allocations: 6.375 kB / 1.276 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9933, allocations: 0 / 1.276 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.9933, allocations: 0 / 1.276 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.9939, allocations: 407.2 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.9942, allocations: 190.2 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.9943, allocations: 7.875 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.9944, allocations: 3.25 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.9945, allocations: 10.89 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.9945, allocations: 2.312 kB / 1.276 GB, free: 15.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001161/0.9957, allocations: 0.718 MB / 1.277 GB, free: 15.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9957, allocations: 4 kB / 1.277 GB, free: 15.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004711/0.9962, allocations: 71.72 kB / 1.277 GB, free: 15.5 MB / 1.014 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.0002426/0.9964, allocations: 116.8 kB / 1.277 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005593/0.997, allocations: 211.8 kB / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.997, allocations: 0 / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.9973, allocations: 116 kB / 1.278 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.9977, allocations: 47.53 kB / 1.278 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.9998, allocations: 1.234 MB / 1.279 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/1.001, allocations: 0.9462 MB / 1.28 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.001, allocations: 34.45 kB / 1.28 GB, free: 13.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/1.001, allocations: 0 / 1.28 GB, free: 13.9 MB / 1.014 GB Notification: Performance of Templates: time 0.01529/1.016, allocations: 7.248 MB / 1.287 GB, free: 12.48 MB / 1.014 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.92787947296165]