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.001035/0.001035, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001233/0.001233, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9575/0.9575, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.061/2.061, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.154e-06/2.154e-06, allocations: 0 / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.773e-05, allocations: 7.375 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003352/0.00338, allocations: 2.668 MB / 0.882 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.00476, allocations: 1.055 MB / 0.8831 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.004908, allocations: 4 kB / 0.8831 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.005376, allocations: 196.1 kB / 0.8832 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.005522, allocations: 106.1 kB / 0.8833 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.005921, allocations: 183.6 kB / 0.8835 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.006239, allocations: 407.6 kB / 0.8839 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.006453, allocations: 150.3 kB / 0.884 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.006651, allocations: 235.4 kB / 0.8843 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.006769, allocations: 131.5 kB / 0.8844 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.006808, allocations: 36 kB / 0.8844 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.007091, allocations: 163.8 kB / 0.8846 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.00726, allocations: 259.2 kB / 0.8848 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.007375, allocations: 191.3 kB / 0.885 GB, free: 328 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.007894, allocations: 0.5797 MB / 0.8856 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.007898, allocations: 4 kB / 0.8856 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.433e-06/0.007899, allocations: 0 / 0.8856 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.007907, allocations: 0 / 0.8856 GB, free: 15.73 MB / 0.8542 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.001048/0.008955, allocations: 1.198 MB / 0.8868 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.008995, allocations: 8.031 kB / 0.8868 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/0.009552, allocations: 232.1 kB / 0.887 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.009975, allocations: 484.6 kB / 0.8875 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.009995, allocations: 21.03 kB / 0.8875 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.01003, allocations: 32.38 kB / 0.8875 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.01039, allocations: 256.9 kB / 0.8877 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.0104, allocations: 4.188 kB / 0.8878 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.01043, allocations: 12.38 kB / 0.8878 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.01044, allocations: 12.31 kB / 0.8878 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.01059, allocations: 112.4 kB / 0.8879 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.01216, allocations: 1.139 MB / 0.889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.01241, allocations: 119.4 kB / 0.8891 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.01247, allocations: 39.66 kB / 0.8891 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.0125, allocations: 11.98 kB / 0.8892 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.01252, allocations: 37.39 kB / 0.8892 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.01252, allocations: 0 / 0.8892 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003383/0.01286, allocations: 215.5 kB / 0.8894 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.01289, allocations: 67.28 kB / 0.8895 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.01369, allocations: 0.9186 MB / 0.8904 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.01372, allocations: 33.7 kB / 0.8904 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.014, allocations: 0.5144 MB / 0.8909 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.01404, allocations: 71.38 kB / 0.891 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.01411, allocations: 55.34 kB / 0.891 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.01422, allocations: 0.4886 MB / 0.8915 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.01428, allocations: 31.97 kB / 0.8915 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.01437, allocations: 95.56 kB / 0.8916 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.01451, allocations: 136.2 kB / 0.8917 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01452, allocations: 0 / 0.8917 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002702/0.01479, allocations: 260.7 kB / 0.892 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.0148, allocations: 4 kB / 0.892 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01481, allocations: 4 kB / 0.892 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.01482, allocations: 0 / 0.892 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.01498, allocations: 51.91 kB / 0.892 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.01498, allocations: 7.938 kB / 0.8921 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.0151, allocations: 24.05 kB / 0.8921 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.01511, allocations: 15.98 kB / 0.8921 GB, free: 8.785 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.0001312/0.01525, allocations: 168.5 kB / 0.8923 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.01533, allocations: 95.39 kB / 0.8923 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.01561, allocations: 201.6 kB / 0.8925 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01562, allocations: 3.984 kB / 0.8925 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01562, allocations: 8 kB / 0.8926 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01562, allocations: 0 / 0.8926 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.01635, allocations: 0.7203 MB / 0.8933 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01635, allocations: 4.188 kB / 0.8933 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.01647, allocations: 35.98 kB / 0.8933 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01647, allocations: 4 kB / 0.8933 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.01649, allocations: 11.98 kB / 0.8933 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.01649, allocations: 7.875 kB / 0.8933 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01649, allocations: 4 kB / 0.8933 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.01677, allocations: 402.9 kB / 0.8937 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.01691, allocations: 123.3 kB / 0.8938 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.01695, allocations: 8 kB / 0.8938 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.01707, allocations: 11.94 kB / 0.8938 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.01711, allocations: 19.97 kB / 0.8939 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.01712, allocations: 11.98 kB / 0.8939 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003595/0.01748, allocations: 0.5504 MB / 0.8944 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01748, allocations: 0 / 0.8944 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003119/0.01779, allocations: 99.78 kB / 0.8945 GB, free: 6.184 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.0001607/0.01795, allocations: 127.1 kB / 0.8946 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.01815, allocations: 114.3 kB / 0.8947 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01815, allocations: 0 / 0.8947 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.01823, allocations: 68.02 kB / 0.8948 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.01856, allocations: 67.38 kB / 0.8949 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.01994, allocations: 1.217 MB / 0.8961 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.02007, allocations: 197.1 kB / 0.8962 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.02026, allocations: 88.47 kB / 0.8963 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.02042, allocations: 138.2 kB / 0.8965 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.02042, allocations: 0 / 0.8965 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of Templates: time 0.01025/0.03067, allocations: 6.005 MB / 0.9023 GB, free: 14.11 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.448759954422712]