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.002393/0.002393, allocations: 84.12 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00314/0.00314, allocations: 164.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.615/1.615, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 3.043/3.043, allocations: 389 MB / 0.633 GB, free: 1.031 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.194e-06/2.194e-06, allocations: 0 / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.601e-05/3.82e-05, allocations: 5.234 kB / 1 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004346/0.004384, allocations: 2.18 MB / 1.002 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.006109, allocations: 0.8705 MB / 1.003 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.006217, allocations: 4 kB / 1.003 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.006826, allocations: 183.2 kB / 1.003 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.006979, allocations: 75.38 kB / 1.003 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.007451, allocations: 111.7 kB / 1.003 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.007759, allocations: 227 kB / 1.004 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.007944, allocations: 62.03 kB / 1.004 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.008104, allocations: 127.6 kB / 1.004 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.008229, allocations: 71.73 kB / 1.004 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.008272, allocations: 20 kB / 1.004 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.008571, allocations: 147.7 kB / 1.004 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.008788, allocations: 211.4 kB / 1.004 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.008955, allocations: 135.5 kB / 1.004 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008696/0.009824, allocations: 0.7044 MB / 1.005 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.009828, allocations: 3.938 kB / 1.005 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.425e-06/0.009831, allocations: 0 / 1.005 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.009841, allocations: 0 / 1.005 GB, free: 1.074 MB / 0.9044 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.001534/0.01138, allocations: 0.9109 MB / 1.006 GB, free: 128 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.01143, allocations: 8.031 kB / 1.006 GB, free: 120 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006058/0.01203, allocations: 128.4 kB / 1.006 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/0.01285, allocations: 0.537 MB / 1.007 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.01287, allocations: 8.375 kB / 1.007 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.0129, allocations: 16.31 kB / 1.007 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.01334, allocations: 198.2 kB / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.01335, allocations: 192 / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.01337, allocations: 4.375 kB / 1.007 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.01337, allocations: 4.375 kB / 1.007 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.01386, allocations: 231.8 kB / 1.007 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.0151, allocations: 0.7887 MB / 1.008 GB, free: 14.15 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.01582, allocations: 306.6 kB / 1.008 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.01606, allocations: 112.8 kB / 1.008 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007276/0.01679, allocations: 159.8 kB / 1.008 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.01683, allocations: 38.5 kB / 1.008 GB, free: 13.53 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.01683, allocations: 0 / 1.008 GB, free: 13.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0009048/0.01773, allocations: 412.9 kB / 1.009 GB, free: 13.12 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.01778, allocations: 51.41 kB / 1.009 GB, free: 13.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.01907, allocations: 0.9974 MB / 1.01 GB, free: 12.04 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.01909, allocations: 25.7 kB / 1.01 GB, free: 12.01 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.01944, allocations: 344.2 kB / 1.01 GB, free: 11.67 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.01948, allocations: 31.73 kB / 1.01 GB, free: 11.64 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.01955, allocations: 37.66 kB / 1.01 GB, free: 11.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01968, allocations: 309.9 kB / 1.011 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.01991, allocations: 95.95 kB / 1.011 GB, free: 11.19 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.02014, allocations: 122.5 kB / 1.011 GB, free: 11.06 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.02059, allocations: 218.8 kB / 1.011 GB, free: 10.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.02059, allocations: 0 / 1.011 GB, free: 10.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006257/0.02122, allocations: 324.9 kB / 1.011 GB, free: 10.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.02124, allocations: 6.031 kB / 1.011 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.02125, allocations: 4 kB / 1.011 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.02127, allocations: 3.938 kB / 1.011 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.02144, allocations: 31.95 kB / 1.011 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.02145, allocations: 0 / 1.011 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.02161, allocations: 15.89 kB / 1.011 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.02162, allocations: 12.05 kB / 1.011 GB, free: 10.45 MB / 0.92 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.0002721/0.02189, allocations: 242.9 kB / 1.012 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.02199, allocations: 75.48 kB / 1.012 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.02265, allocations: 328.5 kB / 1.012 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.02266, allocations: 7.938 kB / 1.012 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.02267, allocations: 0 / 1.012 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.02267, allocations: 0 / 1.012 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.02322, allocations: 417.1 kB / 1.012 GB, free: 9.352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.02322, allocations: 0 / 1.012 GB, free: 9.352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.02338, allocations: 27.92 kB / 1.012 GB, free: 9.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.02338, allocations: 3.984 kB / 1.012 GB, free: 9.32 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.0234, allocations: 8 kB / 1.012 GB, free: 9.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.0234, allocations: 0 / 1.012 GB, free: 9.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.0234, allocations: 3.938 kB / 1.012 GB, free: 9.309 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.02405, allocations: 410.8 kB / 1.013 GB, free: 8.891 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.02426, allocations: 107.4 kB / 1.013 GB, free: 8.785 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.02432, allocations: 8.266 kB / 1.013 GB, free: 8.777 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.02449, allocations: 8 kB / 1.013 GB, free: 8.77 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.02455, allocations: 11.92 kB / 1.013 GB, free: 8.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.02456, allocations: 3.938 kB / 1.013 GB, free: 8.754 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009439/0.0255, allocations: 0.7254 MB / 1.014 GB, free: 8.035 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.0255, allocations: 0 / 1.014 GB, free: 8.035 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003589/0.02586, allocations: 63.89 kB / 1.014 GB, free: 7.973 MB / 0.92 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.0002434/0.0261, allocations: 115.2 kB / 1.014 GB, free: 7.852 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.02663, allocations: 207.8 kB / 1.014 GB, free: 7.648 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.02664, allocations: 4 kB / 1.014 GB, free: 7.645 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.02688, allocations: 116 kB / 1.014 GB, free: 7.531 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.02733, allocations: 47.31 kB / 1.014 GB, free: 7.48 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.02928, allocations: 1.155 MB / 1.015 GB, free: 6.297 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.0297, allocations: 346.4 kB / 1.016 GB, free: 5.938 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.02989, allocations: 81.31 kB / 1.016 GB, free: 5.855 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.02999, allocations: 36.48 kB / 1.016 GB, free: 5.82 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.02999, allocations: 0 / 1.016 GB, free: 5.82 MB / 0.92 GB Notification: Performance of Templates: time 0.01171/0.0417, allocations: 4.508 MB / 1.02 GB, free: 1.344 MB / 0.92 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: 9.21791049465537]