Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001506/0.001506, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.001446/0.001446, allocations: 191.7 kB / 19.4 MB, free: 3.68 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.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 443.4 MB / 0.7286 GB, free: 13.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9937/0.9956, allocations: 160.7 MB / 1.213 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004325/1, allocations: 2.264 MB / 1.216 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001681/1.002, allocations: 0.9486 MB / 1.217 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/1.002, allocations: 4 kB / 1.217 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005871/1.002, allocations: 198.6 kB / 1.217 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/1.002, allocations: 71.44 kB / 1.217 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/1.003, allocations: 111.7 kB / 1.217 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/1.003, allocations: 227 kB / 1.217 GB, free: 1.664 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/1.003, allocations: 61.7 kB / 1.217 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/1.004, allocations: 83.58 kB / 1.217 GB, free: 1.516 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/1.004, allocations: 103.4 kB / 1.217 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/1.004, allocations: 16 kB / 1.217 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/1.004, allocations: 151.8 kB / 1.217 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/1.004, allocations: 215.3 kB / 1.218 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003448/1.005, allocations: 274 kB / 1.218 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007978/1.006, allocations: 0.7217 MB / 1.219 GB, free: 52 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.006, allocations: 0 / 1.219 GB, free: 52 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/1.006, allocations: 3.938 kB / 1.219 GB, free: 48 kB / 0.92 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.006, allocations: 4 kB / 1.219 GB, free: 44 kB / 0.92 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.001408/1.007, allocations: 1.002 MB / 1.22 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.007, allocations: 8.625 kB / 1.22 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/1.008, allocations: 128.3 kB / 1.22 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009383/1.009, allocations: 0.5942 MB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/1.009, allocations: 8.375 kB / 1.22 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/1.009, allocations: 12.38 kB / 1.22 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/1.009, allocations: 206.6 kB / 1.221 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.009, allocations: 192 / 1.221 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/1.009, allocations: 15.92 kB / 1.221 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.009, allocations: 0 / 1.221 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/1.01, allocations: 223.9 kB / 1.221 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/1.011, allocations: 0.914 MB / 1.222 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/1.012, allocations: 310.4 kB / 1.222 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/1.012, allocations: 108.9 kB / 1.222 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008754/1.013, allocations: 232.9 kB / 1.222 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/1.013, allocations: 34.56 kB / 1.222 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/1.013, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0008892/1.014, allocations: 409 kB / 1.223 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.014, allocations: 51.41 kB / 1.223 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/1.015, allocations: 0.9974 MB / 1.224 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.015, allocations: 33.7 kB / 1.224 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/1.016, allocations: 352 kB / 1.224 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/1.016, allocations: 31.73 kB / 1.224 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/1.016, allocations: 25.7 kB / 1.224 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.016, allocations: 310 kB / 1.224 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/1.016, allocations: 108.2 kB / 1.225 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/1.016, allocations: 114.5 kB / 1.225 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/1.017, allocations: 226.4 kB / 1.225 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.017, allocations: 0 / 1.225 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005806/1.018, allocations: 321 kB / 1.225 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.018, allocations: 10.25 kB / 1.225 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.018, allocations: 7.984 kB / 1.225 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.018, allocations: 0 / 1.225 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/1.018, allocations: 23.98 kB / 1.225 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.018, allocations: 7.922 kB / 1.225 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/1.018, allocations: 11.94 kB / 1.225 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/1.018, allocations: 4 kB / 1.225 GB, free: 9 MB / 0.9356 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.000273/1.018, allocations: 251.1 kB / 1.226 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/1.018, allocations: 75.47 kB / 1.226 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006841/1.019, allocations: 336.3 kB / 1.226 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.019, allocations: 4 kB / 1.226 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.019, allocations: 0 / 1.226 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.019, allocations: 4 kB / 1.226 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/1.02, allocations: 0.5247 MB / 1.226 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.02, allocations: 3.938 kB / 1.226 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/1.02, allocations: 23.98 kB / 1.226 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.02, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.02, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.02, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.02, allocations: 192 / 1.226 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/1.02, allocations: 422.8 kB / 1.227 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/1.021, allocations: 184.5 kB / 1.227 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/1.021, allocations: 0 / 1.227 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/1.021, allocations: 11.98 kB / 1.227 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/1.021, allocations: 7.938 kB / 1.227 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.021, allocations: 7.984 kB / 1.227 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009155/1.022, allocations: 0.7137 MB / 1.228 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/1.022, allocations: 4 kB / 1.228 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003611/1.022, allocations: 71.89 kB / 1.228 GB, free: 6.285 MB / 0.9356 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.0002493/1.022, allocations: 111.2 kB / 1.228 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005138/1.023, allocations: 212 kB / 1.228 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.023, allocations: 8 kB / 1.228 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/1.023, allocations: 103.9 kB / 1.228 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/1.024, allocations: 51.23 kB / 1.228 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/1.026, allocations: 1.188 MB / 1.229 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/1.026, allocations: 0.9454 MB / 1.23 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001883/1.027, allocations: 73.33 kB / 1.23 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.501e-05/1.027, allocations: 31.91 kB / 1.23 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/1.027, allocations: 0 / 1.23 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.01135/1.038, allocations: 4.499 MB / 1.235 GB, free: 15.02 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.057612949982285]