Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001723/0.001723, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002549/0.002549, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.8 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002056/0.002056, allocations: 64.67 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3943, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.006533/0.4008, allocations: 2.301 MB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.4036, allocations: 0.9672 MB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.4038, allocations: 8 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009477/0.4047, allocations: 194.8 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.405, allocations: 71.44 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.4056, allocations: 111.7 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.4061, allocations: 219.1 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.4064, allocations: 73.97 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.4066, allocations: 91.47 kB / 1.289 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.4068, allocations: 107.4 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.4069, allocations: 19.94 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.4074, allocations: 151.8 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.4077, allocations: 219.3 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.4081, allocations: 270 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.4094, allocations: 0.727 MB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4094, allocations: 0 / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4094, allocations: 0 / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.4095, allocations: 0 / 1.29 GB, free: 5.711 MB / 0.9825 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.002187/0.4116, allocations: 0.9226 MB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4117, allocations: 8.031 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.4127, allocations: 120.3 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.4142, allocations: 0.5494 MB / 1.292 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.4142, allocations: 12.38 kB / 1.292 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.4143, allocations: 12.36 kB / 1.292 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006759/0.415, allocations: 195.4 kB / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.415, allocations: 192 / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.415, allocations: 7.938 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.415, allocations: 4 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.4158, allocations: 231.8 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.418, allocations: 0.8857 MB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4193, allocations: 310.5 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.4197, allocations: 104.8 kB / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.4209, allocations: 155.8 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.4209, allocations: 42.55 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 2.464e-06/0.4209, allocations: 0 / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001634/0.4225, allocations: 401 kB / 1.294 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.4226, allocations: 51.41 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.4249, allocations: 0.9974 MB / 1.295 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.425, allocations: 25.7 kB / 1.295 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005628/0.4256, allocations: 348.1 kB / 1.295 GB, free: 200 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.4256, allocations: 44.05 kB / 1.295 GB, free: 156 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.4257, allocations: 25.72 kB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.4259, allocations: 310 kB / 1.296 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.4263, allocations: 95.95 kB / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.4267, allocations: 126.5 kB / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/0.4275, allocations: 214.4 kB / 1.296 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4275, allocations: 4 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001087/0.4286, allocations: 328.9 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.4287, allocations: 8 kB / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4287, allocations: 0 / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.4287, allocations: 0 / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.429, allocations: 28.05 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.429, allocations: 0 / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.4294, allocations: 11.98 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.4294, allocations: 4 kB / 1.296 GB, free: 14.98 MB / 0.9981 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.0005394/0.4299, allocations: 257.6 kB / 1.297 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.4301, allocations: 79.42 kB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4313, allocations: 328.5 kB / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4313, allocations: 0 / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4313, allocations: 0 / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4313, allocations: 0 / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.4323, allocations: 0.5041 MB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4323, allocations: 7.938 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.4326, allocations: 19.98 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.4326, allocations: 192 / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.4326, allocations: 8 kB / 1.298 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4326, allocations: 3.938 kB / 1.298 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4326, allocations: 0 / 1.298 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4338, allocations: 406.9 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.4341, allocations: 115.4 kB / 1.298 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/0.4342, allocations: 4 kB / 1.298 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.4345, allocations: 11.98 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.4346, allocations: 3.984 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.4346, allocations: 4 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00169/0.4363, allocations: 0.7137 MB / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.4363, allocations: 0 / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007035/0.437, allocations: 71.92 kB / 1.299 GB, free: 12.39 MB / 0.9981 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.0003156/0.4373, allocations: 119.1 kB / 1.299 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009615/0.4383, allocations: 207.8 kB / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4383, allocations: 0 / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.4387, allocations: 116 kB / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.4394, allocations: 51.23 kB / 1.299 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.4427, allocations: 1.226 MB / 1.3 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.4437, allocations: 0.9525 MB / 1.301 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.4439, allocations: 43.3 kB / 1.301 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/0.444, allocations: 0 / 1.301 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of Templates: time 0.0219/0.4659, allocations: 7.253 MB / 1.309 GB, free: 2.387 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.880997139989631]