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.001848/0.001848, 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.002213/0.002213, allocations: 173 kB / 23.49 MB, free: 1.062 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.421/2.421, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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 2.144e-06/2.144e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.606e-05/3.82e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004173/0.004212, allocations: 2.27 MB / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.005756, allocations: 0.9293 MB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.005878, allocations: 0 / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.006494, allocations: 179.6 kB / 0.8815 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.006638, allocations: 74.09 kB / 0.8816 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.007088, allocations: 107.7 kB / 0.8817 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.007381, allocations: 231 kB / 0.8819 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.007577, allocations: 69.97 kB / 0.882 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.007739, allocations: 121.6 kB / 0.8821 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.007844, allocations: 75.72 kB / 0.8822 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.00788, allocations: 16 kB / 0.8822 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.008153, allocations: 139.8 kB / 0.8823 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.008341, allocations: 219.3 kB / 0.8825 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.008488, allocations: 140.2 kB / 0.8826 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.009046, allocations: 477.9 kB / 0.8831 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.00905, allocations: 5.656 kB / 0.8831 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/0.009052, allocations: 0 / 0.8831 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.009059, allocations: 0 / 0.8831 GB, free: 1.625 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.001241/0.0103, allocations: 1.038 MB / 0.8841 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.01035, allocations: 8.594 kB / 0.8841 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.01087, allocations: 137.3 kB / 0.8843 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.01152, allocations: 447.4 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.01154, allocations: 8.375 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.01157, allocations: 12.38 kB / 0.8847 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.01186, allocations: 123.6 kB / 0.8848 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01187, allocations: 4.188 kB / 0.8848 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.01189, allocations: 4.375 kB / 0.8848 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.0119, allocations: 5.875 kB / 0.8848 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.01205, allocations: 52.95 kB / 0.8849 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01305, allocations: 0.7255 MB / 0.8856 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.01333, allocations: 87.06 kB / 0.8857 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.01339, allocations: 35.81 kB / 0.8857 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/0.01387, allocations: 167.8 kB / 0.8859 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.0139, allocations: 37.39 kB / 0.8859 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.0139, allocations: 0 / 0.8859 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003825/0.01428, allocations: 177.1 kB / 0.8861 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.01432, allocations: 55.41 kB / 0.8861 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.01537, allocations: 0.8627 MB / 0.887 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01539, allocations: 25.7 kB / 0.887 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.01573, allocations: 434.8 kB / 0.8874 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.01577, allocations: 31.7 kB / 0.8874 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.01583, allocations: 35.36 kB / 0.8875 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.01597, allocations: 488.4 kB / 0.8879 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.01604, allocations: 19.98 kB / 0.888 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.01612, allocations: 54.98 kB / 0.888 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.01625, allocations: 75.3 kB / 0.8881 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01625, allocations: 0 / 0.8881 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002702/0.01652, allocations: 169 kB / 0.8882 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01654, allocations: 4 kB / 0.8883 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01655, allocations: 4.062 kB / 0.8883 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01657, allocations: 7.984 kB / 0.8883 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.0167, allocations: 19.98 kB / 0.8883 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.0167, allocations: 0 / 0.8883 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.933e-05/0.0168, allocations: 4 kB / 0.8883 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.01681, allocations: 4 kB / 0.8883 GB, free: 12.08 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.0001289/0.01694, allocations: 168.5 kB / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/0.01703, allocations: 75.48 kB / 0.8885 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.01733, allocations: 164.6 kB / 0.8887 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01734, allocations: 0 / 0.8887 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01734, allocations: 8 kB / 0.8887 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01734, allocations: 0 / 0.8887 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.01784, allocations: 452.2 kB / 0.8891 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.01784, allocations: 7.984 kB / 0.8891 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.13e-05/0.01794, allocations: 23.98 kB / 0.8891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01794, allocations: 0 / 0.8891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01795, allocations: 0 / 0.8891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01795, allocations: 4 kB / 0.8892 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01795, allocations: 0 / 0.8892 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.01824, allocations: 311.3 kB / 0.8894 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.01839, allocations: 99.48 kB / 0.8895 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.01844, allocations: 4 kB / 0.8895 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.01857, allocations: 4 kB / 0.8896 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.01862, allocations: 3.984 kB / 0.8896 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.01863, allocations: 7.938 kB / 0.8896 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006841/0.01931, allocations: 0.5379 MB / 0.8901 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01931, allocations: 0 / 0.8901 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003358/0.01965, allocations: 67.89 kB / 0.8902 GB, free: 10.1 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.0001828/0.01983, allocations: 115.1 kB / 0.8903 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.02005, allocations: 67.58 kB / 0.8903 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.02005, allocations: 8 kB / 0.8903 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.02012, allocations: 35.67 kB / 0.8904 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.02056, allocations: 51.25 kB / 0.8904 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.02212, allocations: 0.9732 MB / 0.8914 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.02228, allocations: 177.1 kB / 0.8915 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.02244, allocations: 61.33 kB / 0.8916 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.02253, allocations: 40.48 kB / 0.8916 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.02253, allocations: 0 / 0.8916 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of Templates: time 0.01083/0.03336, allocations: 4.567 MB / 0.8961 GB, free: 3.977 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: 6.279454705072567]