Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 101.7 kB / 19.69 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 186.6 kB / 22.97 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 443.5 MB / 0.7329 GB, free: 12.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.062 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.789, allocations: 160.8 MB / 1.219 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003943/0.793, allocations: 2.287 MB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.7946, allocations: 0.9552 MB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.7947, allocations: 2.188 kB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.7953, allocations: 197.5 kB / 1.223 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.7954, allocations: 73.41 kB / 1.223 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.7958, allocations: 112.8 kB / 1.223 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.7961, allocations: 223.5 kB / 1.223 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.7962, allocations: 66.23 kB / 1.223 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.7964, allocations: 91.02 kB / 1.223 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.7965, allocations: 96.66 kB / 1.223 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.7965, allocations: 17.53 kB / 1.223 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.7969, allocations: 159.6 kB / 1.223 GB, free: 436 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.7971, allocations: 211 kB / 1.224 GB, free: 312 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.7973, allocations: 270.6 kB / 1.224 GB, free: 88 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009301/0.7983, allocations: 0.7265 MB / 1.225 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.7983, allocations: 0 / 1.225 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7983, allocations: 1 kB / 1.225 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.7983, allocations: 0 / 1.225 GB, free: 15.56 MB / 0.9356 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.001558/0.7998, allocations: 1.007 MB / 1.226 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.7999, allocations: 13.31 kB / 1.226 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006035/0.8005, allocations: 120.7 kB / 1.226 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.8015, allocations: 0.5928 MB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.8015, allocations: 13.67 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.8015, allocations: 15.83 kB / 1.226 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.802, allocations: 210.6 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.802, allocations: 192 / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.802, allocations: 9.094 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.802, allocations: 3.656 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.8025, allocations: 227.4 kB / 1.227 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.8038, allocations: 0.9128 MB / 1.228 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.8045, allocations: 310.4 kB / 1.228 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.8047, allocations: 108.9 kB / 1.228 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007511/0.8054, allocations: 242.4 kB / 1.228 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.8055, allocations: 30.56 kB / 1.228 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.8055, allocations: 1.312 kB / 1.228 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0008963/0.8064, allocations: 401.5 kB / 1.229 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8064, allocations: 56.69 kB / 1.229 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.8077, allocations: 0.9922 MB / 1.23 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.8078, allocations: 29.7 kB / 1.23 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.8081, allocations: 355.7 kB / 1.23 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.8081, allocations: 31.08 kB / 1.23 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.8082, allocations: 30.5 kB / 1.23 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.8084, allocations: 315.2 kB / 1.23 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.8086, allocations: 95.27 kB / 1.23 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.8089, allocations: 120.5 kB / 1.231 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.8094, allocations: 223.8 kB / 1.231 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8094, allocations: 0 / 1.231 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006224/0.81, allocations: 324.9 kB / 1.231 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.81, allocations: 4 kB / 1.231 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.81, allocations: 0 / 1.231 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.81, allocations: 8.062 kB / 1.231 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.8102, allocations: 23.92 kB / 1.231 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8102, allocations: 4 kB / 1.231 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.8104, allocations: 11.94 kB / 1.231 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.8104, allocations: 8 kB / 1.231 GB, free: 10.7 MB / 0.9356 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.0002975/0.8107, allocations: 253.2 kB / 1.231 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.8108, allocations: 79.47 kB / 1.232 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/0.8115, allocations: 332.3 kB / 1.232 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8115, allocations: 0 / 1.232 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8115, allocations: 7.984 kB / 1.232 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8115, allocations: 0 / 1.232 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.8121, allocations: 0.5208 MB / 1.232 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8121, allocations: 3.938 kB / 1.232 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.8123, allocations: 19.98 kB / 1.232 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.8123, allocations: 8 kB / 1.232 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.8123, allocations: 3.984 kB / 1.232 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.8123, allocations: 3.938 kB / 1.232 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8123, allocations: 0 / 1.232 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.8129, allocations: 410.9 kB / 1.233 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.8132, allocations: 188.5 kB / 1.233 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.8133, allocations: 4 kB / 1.233 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.8135, allocations: 12.2 kB / 1.233 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.8135, allocations: 11.98 kB / 1.233 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.8136, allocations: 0 / 1.233 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009933/0.8145, allocations: 0.7253 MB / 1.234 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8145, allocations: 0 / 1.234 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004083/0.815, allocations: 71.89 kB / 1.234 GB, free: 7.969 MB / 0.9356 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.0002192/0.8152, allocations: 115.2 kB / 1.234 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.8157, allocations: 211.8 kB / 1.234 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8157, allocations: 128 / 1.234 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.8159, allocations: 111.9 kB / 1.234 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.8164, allocations: 53.48 kB / 1.234 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.8183, allocations: 1.177 MB / 1.235 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.819, allocations: 0.9415 MB / 1.236 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.8192, allocations: 73.33 kB / 1.236 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.383e-05/0.8192, allocations: 35.42 kB / 1.236 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8192, allocations: 0 / 1.236 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of Templates: time 0.01149/0.8307, allocations: 4.544 MB / 1.241 GB, free: 0.6641 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.549964652047493]