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.0008109/0.0008109, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008188/0.0008188, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.904/0.904, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.801/1.801, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.226e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002316/0.002338, allocations: 2.178 MB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.003239, allocations: 0.8627 MB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.003314, allocations: 4 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.0037, allocations: 187 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.003781, allocations: 67.5 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.004088, allocations: 115.6 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.004276, allocations: 235 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.004409, allocations: 58.05 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.004511, allocations: 123.6 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.004589, allocations: 75.73 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.004612, allocations: 16 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.0048, allocations: 143.7 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.005218, allocations: 219.3 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.385e-05/0.005302, allocations: 127.5 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.005791, allocations: 0.7005 MB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005795, allocations: 7.984 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.01e-07/0.005796, allocations: 0 / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.005802, allocations: 0 / 1.006 GB, free: 7.867 MB / 0.9636 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.0008051/0.006607, allocations: 0.9148 MB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.006649, allocations: 12.69 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.006948, allocations: 124.4 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.007428, allocations: 0.537 MB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.007445, allocations: 12.38 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.007461, allocations: 12.38 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.007702, allocations: 198.1 kB / 1.008 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.007711, allocations: 192 / 1.008 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.007726, allocations: 12.36 kB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.00773, allocations: 4.375 kB / 1.008 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.007986, allocations: 231.8 kB / 1.008 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.008706, allocations: 0.7848 MB / 1.009 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.009095, allocations: 310.4 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.009207, allocations: 108.9 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003361/0.009543, allocations: 159.9 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.009559, allocations: 34.56 kB / 1.009 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.00956, allocations: 0 / 1.009 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0004735/0.01003, allocations: 416.8 kB / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.01006, allocations: 55.41 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/0.01079, allocations: 0.9973 MB / 1.011 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.0108, allocations: 25.7 kB / 1.011 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.011, allocations: 344.1 kB / 1.011 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.01102, allocations: 35.69 kB / 1.011 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.01106, allocations: 29.7 kB / 1.011 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.01113, allocations: 313.9 kB / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.01123, allocations: 95.95 kB / 1.011 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.01135, allocations: 118.5 kB / 1.012 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.01157, allocations: 222.4 kB / 1.012 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01157, allocations: 0 / 1.012 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005554/0.01213, allocations: 317 kB / 1.012 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01214, allocations: 8 kB / 1.012 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01215, allocations: 0 / 1.012 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01216, allocations: 8 kB / 1.012 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.01224, allocations: 31.91 kB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01225, allocations: 0 / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.01232, allocations: 8.469 kB / 1.012 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.01232, allocations: 4 kB / 1.012 GB, free: 1.246 MB / 0.9636 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.0001658/0.01249, allocations: 245.7 kB / 1.012 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.01254, allocations: 79.48 kB / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.0129, allocations: 340.4 kB / 1.013 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01291, allocations: 3.938 kB / 1.013 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01291, allocations: 0 / 1.013 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01291, allocations: 0 / 1.013 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.0132, allocations: 428.9 kB / 1.013 GB, free: 120 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.0132, allocations: 4 kB / 1.013 GB, free: 116 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.01327, allocations: 23.92 kB / 1.013 GB, free: 92 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.01327, allocations: 0 / 1.013 GB, free: 92 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01328, allocations: 11.98 kB / 1.013 GB, free: 80 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01328, allocations: 4 kB / 1.013 GB, free: 76 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.01328, allocations: 3.938 kB / 1.013 GB, free: 72 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.0136, allocations: 406.9 kB / 1.014 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.01371, allocations: 95.5 kB / 1.014 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01374, allocations: 4 kB / 1.014 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.01382, allocations: 11.98 kB / 1.014 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.01386, allocations: 15.86 kB / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.01386, allocations: 4 kB / 1.014 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005237/0.01439, allocations: 0.7215 MB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01439, allocations: 0 / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002133/0.0146, allocations: 67.89 kB / 1.015 GB, free: 14.74 MB / 0.9792 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.0001336/0.01473, allocations: 107.2 kB / 1.015 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.015, allocations: 211.8 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.015, allocations: 4 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.01511, allocations: 104.3 kB / 1.015 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.01538, allocations: 61.25 kB / 1.015 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.01646, allocations: 1.212 MB / 1.016 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.01668, allocations: 349.4 kB / 1.017 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.01675, allocations: 36.48 kB / 1.017 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of SimCode: time 4.41e-07/0.01675, allocations: 0 / 1.017 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of Templates: time 0.006358/0.02311, allocations: 7.483 MB / 1.024 GB, free: 5.137 MB / 0.9792 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.786232032813132]