Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00121/0.00121, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001124/0.001124, allocations: 173 kB / 23.49 MB, free: 1.059 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.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.645 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 2.136/2.136, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] 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.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.45e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004237/0.004271, allocations: 2.695 MB / 0.8808 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.005667, allocations: 1.056 MB / 0.8819 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.005817, allocations: 4 kB / 0.8819 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.006338, allocations: 204.9 kB / 0.8821 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.006468, allocations: 86.09 kB / 0.8822 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.006913, allocations: 193.2 kB / 0.8823 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.007266, allocations: 415.6 kB / 0.8827 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.00752, allocations: 146.3 kB / 0.8829 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.007709, allocations: 223.5 kB / 0.8831 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.007835, allocations: 124.8 kB / 0.8832 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.007881, allocations: 43.94 kB / 0.8832 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.008108, allocations: 171.8 kB / 0.8834 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.008291, allocations: 263.2 kB / 0.8837 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.008432, allocations: 195.3 kB / 0.8838 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.008977, allocations: 0.599 MB / 0.8844 GB, free: 268 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.008979, allocations: 0 / 0.8844 GB, free: 268 kB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00898, allocations: 0 / 0.8844 GB, free: 268 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.008989, allocations: 0 / 0.8844 GB, free: 268 kB / 0.8386 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.001156/0.01014, allocations: 1.21 MB / 0.8856 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.01018, allocations: 12.03 kB / 0.8856 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006451/0.01083, allocations: 232.1 kB / 0.8858 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.01149, allocations: 0.5444 MB / 0.8864 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.01152, allocations: 21.03 kB / 0.8864 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.01156, allocations: 32.38 kB / 0.8864 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.01199, allocations: 285 kB / 0.8867 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.012, allocations: 192 / 0.8867 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.01202, allocations: 12.38 kB / 0.8867 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.01204, allocations: 12.12 kB / 0.8867 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.01228, allocations: 147.8 kB / 0.8869 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.01414, allocations: 1.307 MB / 0.8881 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.01446, allocations: 123.8 kB / 0.8883 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.01455, allocations: 51.69 kB / 0.8883 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.01458, allocations: 12 kB / 0.8883 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.01461, allocations: 37.39 kB / 0.8884 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.01462, allocations: 0 / 0.8884 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0004426/0.01506, allocations: 230.6 kB / 0.8886 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.0151, allocations: 51.41 kB / 0.8886 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.01595, allocations: 0.9659 MB / 0.8896 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.01598, allocations: 37.64 kB / 0.8896 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.01632, allocations: 0.5029 MB / 0.8901 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.01637, allocations: 75.62 kB / 0.8902 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.01645, allocations: 59.34 kB / 0.8902 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.01659, allocations: 0.4886 MB / 0.8907 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.01668, allocations: 39.97 kB / 0.8907 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.01682, allocations: 145 kB / 0.8909 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.017, allocations: 146.7 kB / 0.891 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.01701, allocations: 0 / 0.891 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003334/0.01734, allocations: 274.2 kB / 0.8913 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01736, allocations: 8 kB / 0.8913 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01737, allocations: 4 kB / 0.8913 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.01739, allocations: 4 kB / 0.8913 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.01754, allocations: 55.91 kB / 0.8913 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01755, allocations: 4.156 kB / 0.8914 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.01766, allocations: 31.81 kB / 0.8914 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.01768, allocations: 8 kB / 0.8914 GB, free: 8.836 MB / 0.8542 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.0001369/0.01782, allocations: 168.5 kB / 0.8916 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.01789, allocations: 91.44 kB / 0.8916 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.0182, allocations: 223.2 kB / 0.8919 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.0182, allocations: 4 kB / 0.8919 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.0182, allocations: 0 / 0.8919 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01821, allocations: 3.938 kB / 0.8919 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008125/0.01902, allocations: 0.8657 MB / 0.8927 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01902, allocations: 0 / 0.8927 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.01913, allocations: 39.92 kB / 0.8927 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01914, allocations: 3.938 kB / 0.8927 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.01915, allocations: 11.98 kB / 0.8928 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.01916, allocations: 7.984 kB / 0.8928 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.01916, allocations: 7.938 kB / 0.8928 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.01947, allocations: 409.6 kB / 0.8932 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.01961, allocations: 131.2 kB / 0.8933 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.01965, allocations: 8 kB / 0.8933 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.01976, allocations: 4 kB / 0.8933 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.01982, allocations: 27.89 kB / 0.8933 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.01983, allocations: 11.92 kB / 0.8933 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005011/0.02033, allocations: 0.6013 MB / 0.8939 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02033, allocations: 0 / 0.8939 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002793/0.02061, allocations: 111.7 kB / 0.894 GB, free: 5.984 MB / 0.8542 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.000157/0.02076, allocations: 115.1 kB / 0.8941 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.02101, allocations: 140 kB / 0.8943 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.02102, allocations: 4 kB / 0.8943 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.018e-05/0.02111, allocations: 65.72 kB / 0.8943 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.02144, allocations: 77.56 kB / 0.8944 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.02294, allocations: 1.217 MB / 0.8956 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.02309, allocations: 197.2 kB / 0.8958 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.02326, allocations: 80.53 kB / 0.8959 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.02336, allocations: 44.48 kB / 0.8959 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.02336, allocations: 0 / 0.8959 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of Templates: time 0.01018/0.03354, allocations: 5.562 MB / 0.9013 GB, free: 14.45 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.84879876091145]