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.0009262/0.0009262, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009423/0.0009423, allocations: 165 kB / 23.02 MB, free: 1.551 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.017/1.017, allocations: 177.1 MB / 203.4 MB, free: 5.25 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.189/2.189, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.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.973e-06/1.973e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.253e-05, allocations: 3.156 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003964/0.003997, allocations: 2.293 MB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.005528, allocations: 0.9214 MB / 0.8813 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.005656, allocations: 5.031 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.006258, allocations: 179.9 kB / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.006411, allocations: 78.28 kB / 0.8816 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.006855, allocations: 107.7 kB / 0.8817 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.007151, allocations: 231 kB / 0.8819 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.007334, allocations: 61.98 kB / 0.882 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.007502, allocations: 127.6 kB / 0.8821 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.007612, allocations: 67.73 kB / 0.8821 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.007652, allocations: 20 kB / 0.8822 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.007955, allocations: 136.5 kB / 0.8823 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.008161, allocations: 223.3 kB / 0.8825 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.008304, allocations: 131.5 kB / 0.8826 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006256/0.00893, allocations: 481.9 kB / 0.8831 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.008935, allocations: 0 / 0.8831 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.008936, allocations: 4 kB / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.008947, allocations: 0 / 0.8831 GB, free: 1.297 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.001289/0.01024, allocations: 1.05 MB / 0.8841 GB, free: 208 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.01028, allocations: 8.031 kB / 0.8841 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004718/0.01075, allocations: 128.3 kB / 0.8842 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.01141, allocations: 448.8 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.01144, allocations: 8.375 kB / 0.8847 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.01147, allocations: 12.31 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.01176, allocations: 123.9 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.01178, allocations: 4.188 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.0118, allocations: 4.375 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01181, allocations: 4.375 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.01195, allocations: 60.41 kB / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.01303, allocations: 0.714 MB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.01333, allocations: 103 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.0134, allocations: 31.81 kB / 0.8857 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/0.0139, allocations: 163.8 kB / 0.8859 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.01392, allocations: 37.38 kB / 0.8859 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.01393, allocations: 0 / 0.8859 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003923/0.01432, allocations: 185.3 kB / 0.8861 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.01435, allocations: 51.41 kB / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.01539, allocations: 0.8666 MB / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.01541, allocations: 25.7 kB / 0.887 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.01577, allocations: 434.8 kB / 0.8874 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.0158, allocations: 31.73 kB / 0.8874 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.136e-05/0.01586, allocations: 31.36 kB / 0.8875 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.016, allocations: 492.4 kB / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.01606, allocations: 15.98 kB / 0.888 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.01614, allocations: 54.98 kB / 0.888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.01627, allocations: 71.03 kB / 0.8881 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01627, allocations: 0 / 0.8881 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002778/0.01655, allocations: 165.1 kB / 0.8882 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.01657, allocations: 8.062 kB / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01658, allocations: 4 kB / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.0166, allocations: 3.938 kB / 0.8882 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.01673, allocations: 31.92 kB / 0.8883 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01674, allocations: 0 / 0.8883 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01684, allocations: 11.94 kB / 0.8883 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01686, allocations: 8 kB / 0.8883 GB, free: 11.72 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.0001245/0.01698, allocations: 156.6 kB / 0.8884 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.01708, allocations: 79.48 kB / 0.8885 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.01741, allocations: 164.6 kB / 0.8887 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01741, allocations: 3.938 kB / 0.8887 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01742, allocations: 4 kB / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01742, allocations: 0 / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.01795, allocations: 444.3 kB / 0.8891 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01796, allocations: 0 / 0.8891 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.01807, allocations: 23.92 kB / 0.8891 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01807, allocations: 0 / 0.8891 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01808, allocations: 4 kB / 0.8891 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01809, allocations: 0 / 0.8891 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01809, allocations: 3.938 kB / 0.8891 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.01842, allocations: 311.3 kB / 0.8894 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.0186, allocations: 99.44 kB / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.01865, allocations: 8 kB / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.01877, allocations: 0 / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.01882, allocations: 11.92 kB / 0.8896 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01883, allocations: 4 kB / 0.8896 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006623/0.01949, allocations: 0.5418 MB / 0.8901 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01949, allocations: 0 / 0.8901 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004044/0.0199, allocations: 67.89 kB / 0.8902 GB, free: 9.758 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.0002362/0.02013, allocations: 111.2 kB / 0.8903 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.02035, allocations: 67.59 kB / 0.8903 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.02035, allocations: 4 kB / 0.8903 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/0.02043, allocations: 43.59 kB / 0.8904 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.0209, allocations: 51.97 kB / 0.8904 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.02263, allocations: 0.9688 MB / 0.8914 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.0228, allocations: 177.2 kB / 0.8915 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.02296, allocations: 57.33 kB / 0.8916 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.607e-05/0.02305, allocations: 36.48 kB / 0.8916 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.02305, allocations: 0 / 0.8916 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of Templates: time 0.01147/0.03453, allocations: 4.57 MB / 0.8961 GB, free: 3.645 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","",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.673580416012555]