Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.001629/0.001629, allocations: 76.41 kB / 20.23 MB, free: 4.203 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.001609/0.001609, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.822/2.822, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.222e-05, allocations: 3.188 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.008374/0.008416, allocations: 2.582 MB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.01188, allocations: 1.022 MB / 0.7899 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.01234, allocations: 5.562 kB / 0.7899 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.01349, allocations: 202.6 kB / 0.7901 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.014, allocations: 88.31 kB / 0.7902 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000855/0.01485, allocations: 188.1 kB / 0.7904 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006581/0.01551, allocations: 411.6 kB / 0.7908 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.0159, allocations: 143 kB / 0.7909 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.01633, allocations: 232 kB / 0.7911 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.0166, allocations: 129.2 kB / 0.7912 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.483e-05/0.01669, allocations: 43.94 kB / 0.7913 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.01708, allocations: 159.8 kB / 0.7914 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.01739, allocations: 267.2 kB / 0.7917 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.01776, allocations: 199.3 kB / 0.7919 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.01927, allocations: 0.9503 MB / 0.7928 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.01927, allocations: 0.7812 kB / 0.7928 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/0.01928, allocations: 0 / 0.7928 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.536e-05/0.01931, allocations: 1.156 kB / 0.7928 GB, free: 6.254 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002627/0.02194, allocations: 1.08 MB / 0.7939 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.02199, allocations: 15.97 kB / 0.7939 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.0236, allocations: 272.3 kB / 0.7941 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.02538, allocations: 0.6668 MB / 0.7948 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.02543, allocations: 25.03 kB / 0.7948 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.0255, allocations: 36.3 kB / 0.7949 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.02653, allocations: 407.2 kB / 0.7952 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.02655, allocations: 192 / 0.7952 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.02659, allocations: 12.38 kB / 0.7953 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.0266, allocations: 12.12 kB / 0.7953 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.02779, allocations: 413.8 kB / 0.7957 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.03167, allocations: 1.407 MB / 0.797 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/0.03251, allocations: 210.6 kB / 0.7972 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.03287, allocations: 100.8 kB / 0.7973 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.03292, allocations: 4 kB / 0.7973 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.03297, allocations: 34.56 kB / 0.7974 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.03297, allocations: 0 / 0.7974 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.001396/0.03437, allocations: 386.6 kB / 0.7977 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.03443, allocations: 55.41 kB / 0.7978 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.03656, allocations: 1.21 MB / 0.799 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.03662, allocations: 37.69 kB / 0.799 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.0371, allocations: 424.6 kB / 0.7994 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.03719, allocations: 79.34 kB / 0.7995 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.03735, allocations: 53.66 kB / 0.7995 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.03757, allocations: 321.9 kB / 0.7998 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.03795, allocations: 151.9 kB / 0.8 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.03842, allocations: 219.6 kB / 0.8002 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.03915, allocations: 282.6 kB / 0.8005 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.03915, allocations: 4 kB / 0.8005 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001237/0.04039, allocations: 483.7 kB / 0.8009 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.04041, allocations: 4 kB / 0.8009 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.04043, allocations: 4 kB / 0.8009 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.04046, allocations: 0 / 0.8009 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.04081, allocations: 55.91 kB / 0.801 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.04082, allocations: 4 kB / 0.801 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.04117, allocations: 43.75 kB / 0.801 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.04121, allocations: 4 kB / 0.801 GB, free: 13.6 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0004255/0.04163, allocations: 273.7 kB / 0.8013 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.04181, allocations: 91.42 kB / 0.8014 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009825/0.04279, allocations: 318.2 kB / 0.8017 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.0428, allocations: 0 / 0.8017 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.0428, allocations: 0 / 0.8017 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.04281, allocations: 11.92 kB / 0.8017 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.04479, allocations: 0.8563 MB / 0.8025 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.04479, allocations: 0 / 0.8025 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.04507, allocations: 43.91 kB / 0.8026 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.04508, allocations: 7.938 kB / 0.8026 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.04512, allocations: 11.98 kB / 0.8026 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.04512, allocations: 4 kB / 0.8026 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.04512, allocations: 0 / 0.8026 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009504/0.04607, allocations: 438.1 kB / 0.803 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.04639, allocations: 135.2 kB / 0.8032 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.04647, allocations: 12 kB / 0.8032 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.04677, allocations: 15.98 kB / 0.8032 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.04687, allocations: 15.97 kB / 0.8032 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.04689, allocations: 8 kB / 0.8032 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001544/0.04844, allocations: 0.8864 MB / 0.8041 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.04844, allocations: 0 / 0.8041 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000522/0.04896, allocations: 103.8 kB / 0.8042 GB, free: 10.29 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0003163/0.04927, allocations: 131 kB / 0.8043 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008303/0.0501, allocations: 263.7 kB / 0.8045 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.05011, allocations: 4 kB / 0.8045 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.05045, allocations: 103.8 kB / 0.8046 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.05101, allocations: 80 kB / 0.8047 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.05394, allocations: 1.394 MB / 0.8061 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.05459, allocations: 403.5 kB / 0.8065 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003565/0.05495, allocations: 100.5 kB / 0.8066 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.05513, allocations: 44.48 kB / 0.8066 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/0.05513, allocations: 0 / 0.8066 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of Templates: time 0.01474/0.06987, allocations: 5.539 MB / 0.812 GB, free: 2.191 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.632499016006477]