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.000963/0.000963, allocations: 93.06 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.001001/0.001001, allocations: 169 kB / 23.02 MB, free: 1.555 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 0.9728/0.9728, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.147/2.147, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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 1.634e-06/1.634e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.98e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.00499/0.00502, allocations: 2.711 MB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.007063, allocations: 1.059 MB / 0.8819 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.007292, allocations: 4 kB / 0.8819 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.007977, allocations: 207.9 kB / 0.8821 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.008219, allocations: 91.97 kB / 0.8822 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.008836, allocations: 192.7 kB / 0.8823 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.009374, allocations: 411.6 kB / 0.8827 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.009682, allocations: 147.8 kB / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.009986, allocations: 227.5 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.01016, allocations: 127.6 kB / 0.8832 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/0.01022, allocations: 47.94 kB / 0.8833 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.01058, allocations: 159.8 kB / 0.8834 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.01083, allocations: 267.2 kB / 0.8837 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.01103, allocations: 195.3 kB / 0.8839 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008752/0.01191, allocations: 0.595 MB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01191, allocations: 0 / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01191, allocations: 0 / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.338e-05/0.01194, allocations: 0 / 0.8844 GB, free: 15.91 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.001947/0.01388, allocations: 1.21 MB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.01393, allocations: 12.03 kB / 0.8856 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009577/0.01489, allocations: 236.1 kB / 0.8859 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.01591, allocations: 0.5443 MB / 0.8864 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.01594, allocations: 29.03 kB / 0.8864 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.016, allocations: 28.38 kB / 0.8864 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.01665, allocations: 281 kB / 0.8867 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01667, allocations: 192 / 0.8867 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.01671, allocations: 16.38 kB / 0.8867 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.01673, allocations: 12.12 kB / 0.8867 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.01712, allocations: 139.8 kB / 0.8869 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.02038, allocations: 1.307 MB / 0.8881 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.02074, allocations: 131.1 kB / 0.8883 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.02083, allocations: 51.66 kB / 0.8883 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.02087, allocations: 4 kB / 0.8883 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.0209, allocations: 37.39 kB / 0.8884 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 2.625e-06/0.0209, allocations: 0 / 0.8884 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0004641/0.02136, allocations: 243.3 kB / 0.8886 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.0214, allocations: 55.41 kB / 0.8886 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008568/0.02226, allocations: 0.9581 MB / 0.8896 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.02229, allocations: 33.64 kB / 0.8896 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.02264, allocations: 0.511 MB / 0.8901 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.02269, allocations: 71.38 kB / 0.8902 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.02276, allocations: 59.34 kB / 0.8902 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.02289, allocations: 492.4 kB / 0.8907 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.02298, allocations: 43.97 kB / 0.8907 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.02313, allocations: 148.9 kB / 0.8909 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.02334, allocations: 147.9 kB / 0.891 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02334, allocations: 0 / 0.891 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003547/0.02369, allocations: 275.2 kB / 0.8913 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.02371, allocations: 4 kB / 0.8913 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.02372, allocations: 0 / 0.8913 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.02374, allocations: 4 kB / 0.8913 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.02391, allocations: 59.91 kB / 0.8914 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.02392, allocations: 8.156 kB / 0.8914 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.02404, allocations: 27.81 kB / 0.8914 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.02406, allocations: 8 kB / 0.8914 GB, free: 8.484 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.0001341/0.02419, allocations: 168.5 kB / 0.8916 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.02429, allocations: 95.39 kB / 0.8916 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.02465, allocations: 219.4 kB / 0.8919 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.02466, allocations: 4 kB / 0.8919 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.02466, allocations: 0 / 0.8919 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02467, allocations: 3.938 kB / 0.8919 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.02563, allocations: 0.8688 MB / 0.8927 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.02563, allocations: 4 kB / 0.8927 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.02576, allocations: 39.92 kB / 0.8928 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.02576, allocations: 7.938 kB / 0.8928 GB, free: 7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.02578, allocations: 7.984 kB / 0.8928 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.02578, allocations: 0 / 0.8928 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.02579, allocations: 4 kB / 0.8928 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.02614, allocations: 413.6 kB / 0.8932 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.0263, allocations: 135.2 kB / 0.8933 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.02635, allocations: 8 kB / 0.8933 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.02646, allocations: 8 kB / 0.8933 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.02652, allocations: 15.97 kB / 0.8933 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.02654, allocations: 19.92 kB / 0.8933 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004963/0.02703, allocations: 0.5974 MB / 0.8939 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02703, allocations: 8 kB / 0.8939 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003084/0.02734, allocations: 103.8 kB / 0.894 GB, free: 5.637 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.0001788/0.02752, allocations: 111.2 kB / 0.8941 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.02778, allocations: 135.9 kB / 0.8943 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02778, allocations: 320 / 0.8943 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.02787, allocations: 67.53 kB / 0.8943 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.02821, allocations: 75.42 kB / 0.8944 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.02971, allocations: 1.221 MB / 0.8956 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.02985, allocations: 197.2 kB / 0.8958 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000172/0.03002, allocations: 88.52 kB / 0.8959 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.03011, allocations: 44.48 kB / 0.8959 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.03012, allocations: 0 / 0.8959 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of Templates: time 0.009918/0.04003, allocations: 5.551 MB / 0.9013 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.61242740182206]