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.001883/0.001883, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002372/0.002372, allocations: 211.8 kB / 22.99 MB, free: 4.945 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 3.336/3.336, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 70.58 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3862, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004733/0.391, allocations: 2.178 MB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3929, allocations: 0.859 MB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3931, allocations: 4 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000763/0.3938, allocations: 183.1 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.3941, allocations: 79.44 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.3946, allocations: 103.7 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.395, allocations: 227.1 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.3952, allocations: 61.98 kB / 1.368 GB, free: 9.852 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.3954, allocations: 95.45 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.3955, allocations: 95.42 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.3956, allocations: 16 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.3959, allocations: 143.8 kB / 1.369 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.3961, allocations: 211.3 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.3964, allocations: 198.5 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009131/0.3973, allocations: 0.727 MB / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3973, allocations: 0 / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3973, allocations: 3.938 kB / 1.37 GB, free: 8.371 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.3973, allocations: 0 / 1.37 GB, free: 8.371 MB / 1.061 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.001705/0.399, allocations: 0.9148 MB / 1.371 GB, free: 7.418 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3991, allocations: 15.97 kB / 1.371 GB, free: 7.402 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.3997, allocations: 128.3 kB / 1.371 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009531/0.4006, allocations: 0.5416 MB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.4007, allocations: 12.38 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.4007, allocations: 12.38 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.4011, allocations: 190.7 kB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4011, allocations: 192 / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.4011, allocations: 7.938 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4012, allocations: 7.984 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.4016, allocations: 227.9 kB / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.4029, allocations: 0.7887 MB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.4036, allocations: 306.6 kB / 1.373 GB, free: 5.125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.4038, allocations: 104.8 kB / 1.373 GB, free: 5.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007267/0.4045, allocations: 159.9 kB / 1.373 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4046, allocations: 34.5 kB / 1.373 GB, free: 4.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.4046, allocations: 0 / 1.373 GB, free: 4.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0008783/0.4054, allocations: 413 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.4055, allocations: 55.34 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.4068, allocations: 1.001 MB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.4068, allocations: 25.7 kB / 1.374 GB, free: 3.305 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.4072, allocations: 344.2 kB / 1.375 GB, free: 2.961 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.4072, allocations: 31.73 kB / 1.375 GB, free: 2.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.4073, allocations: 29.7 kB / 1.375 GB, free: 2.895 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4074, allocations: 306 kB / 1.375 GB, free: 2.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4076, allocations: 103.9 kB / 1.375 GB, free: 2.488 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.4079, allocations: 118.5 kB / 1.375 GB, free: 2.363 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.4083, allocations: 226.7 kB / 1.376 GB, free: 2.133 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4083, allocations: 0 / 1.376 GB, free: 2.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005884/0.4089, allocations: 325 kB / 1.376 GB, free: 1.809 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4089, allocations: 10.12 kB / 1.376 GB, free: 1.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4089, allocations: 0 / 1.376 GB, free: 1.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4089, allocations: 4 kB / 1.376 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4091, allocations: 23.92 kB / 1.376 GB, free: 1.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4091, allocations: 4 kB / 1.376 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4093, allocations: 19.88 kB / 1.376 GB, free: 1.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.4093, allocations: 4 kB / 1.376 GB, free: 1.746 MB / 1.061 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.0002849/0.4096, allocations: 250.9 kB / 1.376 GB, free: 1.492 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4097, allocations: 79.42 kB / 1.376 GB, free: 1.414 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.4104, allocations: 324.5 kB / 1.377 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4104, allocations: 0 / 1.377 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4104, allocations: 0 / 1.377 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4104, allocations: 4 kB / 1.377 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.4109, allocations: 425 kB / 1.377 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4109, allocations: 0 / 1.377 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.411, allocations: 27.92 kB / 1.377 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.4111, allocations: 4 kB / 1.377 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4111, allocations: 7.938 kB / 1.377 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4111, allocations: 4 kB / 1.377 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4111, allocations: 0 / 1.377 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.4117, allocations: 407 kB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.4119, allocations: 119.4 kB / 1.378 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.412, allocations: 3.938 kB / 1.378 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.4122, allocations: 4 kB / 1.378 GB, free: 60 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.4122, allocations: 7.984 kB / 1.378 GB, free: 52 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4122, allocations: 7.984 kB / 1.378 GB, free: 44 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009605/0.4132, allocations: 0.7137 MB / 1.378 GB, free: 15.33 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4132, allocations: 3.938 kB / 1.378 GB, free: 15.33 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003602/0.4135, allocations: 67.89 kB / 1.378 GB, free: 15.26 MB / 1.076 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.0002239/0.4138, allocations: 111.2 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005184/0.4143, allocations: 207.8 kB / 1.379 GB, free: 14.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4143, allocations: 0 / 1.379 GB, free: 14.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.4145, allocations: 108 kB / 1.379 GB, free: 14.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.4149, allocations: 51.31 kB / 1.379 GB, free: 14.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.4169, allocations: 1.249 MB / 1.38 GB, free: 13.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.4173, allocations: 341.4 kB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4174, allocations: 39.44 kB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.4174, allocations: 4 kB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of Templates: time 0.01408/0.4315, allocations: 7.481 MB / 1.388 GB, free: 5.617 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.82463334267959]