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.001953/0.001953, allocations: 85.48 kB / 19.44 MB, free: 344 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.002145/0.002145, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.448/3.448, allocations: 429.5 MB / 0.6729 GB, free: 4.031 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.743e-06/1.743e-06, allocations: 0 / 0.8775 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.004e-05, allocations: 7 kB / 0.8775 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004249/0.004279, allocations: 2.25 MB / 0.8797 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.005999, allocations: 0.9152 MB / 0.8806 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.00609, allocations: 4 kB / 0.8806 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.006677, allocations: 179.6 kB / 0.8807 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.006825, allocations: 69.36 kB / 0.8808 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.007253, allocations: 115.7 kB / 0.8809 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000315/0.007568, allocations: 231 kB / 0.8811 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.007741, allocations: 62.03 kB / 0.8812 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.008176, allocations: 127.7 kB / 0.8813 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.008304, allocations: 67.73 kB / 0.8814 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.008346, allocations: 20 kB / 0.8814 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.008666, allocations: 147.7 kB / 0.8815 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.008916, allocations: 215.3 kB / 0.8817 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.009118, allocations: 139.4 kB / 0.8819 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009276/0.01005, allocations: 0.7005 MB / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01005, allocations: 0 / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.204e-06/0.01005, allocations: 0 / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.01006, allocations: 0 / 0.8826 GB, free: 1.469 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.001617/0.01168, allocations: 1.073 MB / 0.8836 GB, free: 360 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.01172, allocations: 12.03 kB / 0.8836 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.01229, allocations: 128.3 kB / 0.8837 GB, free: 220 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/0.01313, allocations: 460.7 kB / 0.8842 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.01315, allocations: 4.375 kB / 0.8842 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.01318, allocations: 16.38 kB / 0.8842 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.01352, allocations: 134.9 kB / 0.8843 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.01353, allocations: 192 / 0.8843 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.01355, allocations: 4.375 kB / 0.8843 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.01356, allocations: 4.375 kB / 0.8843 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.01389, allocations: 104.3 kB / 0.8844 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.01535, allocations: 0.8077 MB / 0.8852 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.01583, allocations: 127 kB / 0.8853 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.01598, allocations: 47.75 kB / 0.8854 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006879/0.01667, allocations: 167.8 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.01671, allocations: 37.39 kB / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.01671, allocations: 0 / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0006602/0.01737, allocations: 225 kB / 0.8858 GB, free: 14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.01742, allocations: 51.41 kB / 0.8859 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.01879, allocations: 0.9643 MB / 0.8868 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.01881, allocations: 29.7 kB / 0.8868 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/0.01933, allocations: 466.8 kB / 0.8873 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.01937, allocations: 31.73 kB / 0.8873 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.01944, allocations: 31.38 kB / 0.8873 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002811/0.01972, allocations: 492.4 kB / 0.8878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.01985, allocations: 31.98 kB / 0.8878 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.02002, allocations: 63.05 kB / 0.8879 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.02032, allocations: 110.9 kB / 0.888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.02032, allocations: 0 / 0.888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004513/0.02078, allocations: 201 kB / 0.8882 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.02079, allocations: 10.41 kB / 0.8882 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.0208, allocations: 4 kB / 0.8882 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.02083, allocations: 3.938 kB / 0.8882 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.02098, allocations: 19.98 kB / 0.8882 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.02099, allocations: 4 kB / 0.8882 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.02113, allocations: 7.953 kB / 0.8882 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.02115, allocations: 12 kB / 0.8882 GB, free: 11.41 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.0004741/0.02162, allocations: 176.5 kB / 0.8884 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.02174, allocations: 79.48 kB / 0.8885 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.02225, allocations: 188.6 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.02226, allocations: 7.938 kB / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02226, allocations: 0 / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.02227, allocations: 4 kB / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.02302, allocations: 0.5003 MB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.02302, allocations: 0 / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.02316, allocations: 19.98 kB / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.02316, allocations: 0 / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.02317, allocations: 0 / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.02317, allocations: 0 / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.02318, allocations: 7.938 kB / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.02372, allocations: 339.3 kB / 0.8895 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.02398, allocations: 107.4 kB / 0.8896 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.02403, allocations: 0 / 0.8896 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.02418, allocations: 0 / 0.8896 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.02423, allocations: 15.92 kB / 0.8896 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.02424, allocations: 4 kB / 0.8896 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008311/0.02507, allocations: 0.5809 MB / 0.8902 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02507, allocations: 4 kB / 0.8902 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003501/0.02542, allocations: 75.83 kB / 0.8903 GB, free: 9.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.0002172/0.02564, allocations: 111.1 kB / 0.8904 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.02599, allocations: 99.58 kB / 0.8905 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02599, allocations: 0 / 0.8905 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.02615, allocations: 52.64 kB / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.02657, allocations: 55.48 kB / 0.8906 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.0282, allocations: 0.9959 MB / 0.8916 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.02863, allocations: 330.6 kB / 0.8919 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.02882, allocations: 69.31 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.02893, allocations: 32.5 kB / 0.892 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.02893, allocations: 3.938 kB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of Templates: time 0.01174/0.04067, allocations: 4.536 MB / 0.8964 GB, free: 2.938 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] 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.932856297004037]