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.002001/0.002001, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002295/0.002295, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.609/1.609, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.322/3.322, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.703e-06/1.703e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.585e-05/3.755e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004265/0.004302, allocations: 2.179 MB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.005988, allocations: 0.8685 MB / 0.8806 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.662e-05/0.006074, allocations: 3.938 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.006677, allocations: 179.8 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.006834, allocations: 71.59 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.007287, allocations: 112.9 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.007633, allocations: 238.9 kB / 0.8812 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.007825, allocations: 63.12 kB / 0.8812 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.008021, allocations: 119.7 kB / 0.8813 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.008166, allocations: 71.73 kB / 0.8814 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.008207, allocations: 20.59 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.00853, allocations: 143.8 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.008782, allocations: 216.9 kB / 0.8818 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.008964, allocations: 131.5 kB / 0.8819 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009389/0.009902, allocations: 0.7083 MB / 0.8826 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.009906, allocations: 0 / 0.8826 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.009907, allocations: 2.812 kB / 0.8826 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.009916, allocations: 0 / 0.8826 GB, free: 1.375 MB / 0.8386 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.001828/0.01174, allocations: 0.9109 MB / 0.8835 GB, free: 436 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.01179, allocations: 12.03 kB / 0.8835 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006532/0.01244, allocations: 138 kB / 0.8836 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009493/0.01339, allocations: 0.5415 MB / 0.8842 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.01342, allocations: 14.03 kB / 0.8842 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.01345, allocations: 12.38 kB / 0.8842 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.01392, allocations: 191.7 kB / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01393, allocations: 192 / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.01395, allocations: 5.156 kB / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.01396, allocations: 4.375 kB / 0.8844 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.01452, allocations: 240.2 kB / 0.8846 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.01588, allocations: 0.7771 MB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.01667, allocations: 310.6 kB / 0.8857 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.01692, allocations: 108.8 kB / 0.8858 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007165/0.01763, allocations: 159.9 kB / 0.8859 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.01767, allocations: 34.56 kB / 0.886 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.01767, allocations: 0 / 0.886 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0009966/0.01867, allocations: 416.8 kB / 0.8864 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.01872, allocations: 55.41 kB / 0.8864 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.0203, allocations: 0.9974 MB / 0.8874 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.02034, allocations: 25.7 kB / 0.8874 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.02085, allocations: 356 kB / 0.8877 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.0209, allocations: 27.75 kB / 0.8878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.021, allocations: 29.7 kB / 0.8878 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.02125, allocations: 306 kB / 0.8881 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.02151, allocations: 99.94 kB / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.02178, allocations: 126.5 kB / 0.8883 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.02227, allocations: 218.4 kB / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02227, allocations: 0 / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006618/0.02293, allocations: 329 kB / 0.8888 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.02295, allocations: 6.5 kB / 0.8888 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.02296, allocations: 0 / 0.8888 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.02299, allocations: 7.922 kB / 0.8888 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.02317, allocations: 32.05 kB / 0.8889 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.02318, allocations: 0 / 0.8889 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.02334, allocations: 15.94 kB / 0.8889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.02336, allocations: 8 kB / 0.8889 GB, free: 10.74 MB / 0.8542 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.0003394/0.0237, allocations: 245.7 kB / 0.8891 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.02384, allocations: 75.52 kB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/0.02456, allocations: 332.5 kB / 0.8895 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.02457, allocations: 11.94 kB / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.02457, allocations: 0 / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02458, allocations: 0 / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/0.02544, allocations: 421 kB / 0.8899 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02544, allocations: 0 / 0.8899 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.02561, allocations: 23.97 kB / 0.89 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.02561, allocations: 0 / 0.89 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.02562, allocations: 7.938 kB / 0.89 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.02562, allocations: 0 / 0.89 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.02563, allocations: 3.938 kB / 0.89 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.02634, allocations: 414.9 kB / 0.8904 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.02657, allocations: 111.4 kB / 0.8905 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.02663, allocations: 4 kB / 0.8905 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.02682, allocations: 4 kB / 0.8905 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.02688, allocations: 7.922 kB / 0.8905 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.0269, allocations: 12 kB / 0.8905 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001093/0.02799, allocations: 0.7176 MB / 0.8912 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02799, allocations: 0 / 0.8912 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004034/0.0284, allocations: 67.89 kB / 0.8913 GB, free: 8.258 MB / 0.8542 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.0002974/0.02869, allocations: 115.1 kB / 0.8914 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005933/0.02929, allocations: 212 kB / 0.8916 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.02929, allocations: 0 / 0.8916 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.02954, allocations: 104.8 kB / 0.8917 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.03006, allocations: 51.31 kB / 0.8917 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.03237, allocations: 1.19 MB / 0.8929 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.03284, allocations: 346.6 kB / 0.8932 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.03305, allocations: 85.31 kB / 0.8933 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.03316, allocations: 36.5 kB / 0.8933 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.03316, allocations: 4 kB / 0.8933 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of Templates: time 0.01276/0.04592, allocations: 4.523 MB / 0.8977 GB, free: 1.574 MB / 0.8542 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: 8.987034316989593]