Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001743/0.001743, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002118/0.002118, allocations: 213.1 kB / 23.04 MB, free: 4.844 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.146/3.146, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002029/0.002029, allocations: 69.03 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4057, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.006726/0.4124, allocations: 2.169 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002756/0.4152, allocations: 0.8777 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.4154, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009248/0.4163, allocations: 174.9 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.4166, allocations: 71.44 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000757/0.4173, allocations: 119.7 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.4179, allocations: 223 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.4182, allocations: 57.98 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.4184, allocations: 91.56 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.4186, allocations: 91.38 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.4187, allocations: 19.94 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005661/0.4192, allocations: 143.8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003778/0.4196, allocations: 207.4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.42, allocations: 194.5 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.4218, allocations: 0.7348 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.4218, allocations: 8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.746e-06/0.4218, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.122e-05/0.4219, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 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.003225/0.4251, allocations: 0.9187 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.4252, allocations: 8.031 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.4262, allocations: 124.3 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.428, allocations: 0.5494 MB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.428, allocations: 12.31 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.4281, allocations: 8.375 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.4288, allocations: 206.1 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4288, allocations: 192 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.4288, allocations: 11.94 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4288, allocations: 7.938 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/0.4298, allocations: 223.9 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.4323, allocations: 0.7809 MB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.4337, allocations: 310.4 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.4341, allocations: 101 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.4353, allocations: 167.9 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.4353, allocations: 38.5 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/0.4353, allocations: 0 / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001696/0.437, allocations: 409 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.4371, allocations: 55.39 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.4397, allocations: 0.9974 MB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.4397, allocations: 25.7 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.4403, allocations: 344.1 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.4403, allocations: 35.69 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.4405, allocations: 25.7 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003171/0.4408, allocations: 310 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.4412, allocations: 99.95 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.4416, allocations: 122.5 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/0.4425, allocations: 218.4 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4425, allocations: 0 / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001195/0.4437, allocations: 329.3 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.4437, allocations: 7.938 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4437, allocations: 64 / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4437, allocations: 4 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.4441, allocations: 27.97 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.4441, allocations: 3.938 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.4444, allocations: 12 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.4444, allocations: 4 kB / 1.338 GB, free: 5.129 MB / 1.029 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.0006014/0.445, allocations: 248.9 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.4453, allocations: 79.42 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.4465, allocations: 336.4 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4465, allocations: 0 / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4465, allocations: 0 / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.4465, allocations: 4 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4476, allocations: 428.9 kB / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4476, allocations: 0 / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.4479, allocations: 19.98 kB / 1.34 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4479, allocations: 0 / 1.34 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.4479, allocations: 3.938 kB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-05/0.4479, allocations: 11.98 kB / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4479, allocations: 0 / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.449, allocations: 406.9 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.4494, allocations: 103.4 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4495, allocations: 11.94 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.4498, allocations: 11.98 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.4499, allocations: 3.984 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4499, allocations: 8 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001875/0.4518, allocations: 0.7217 MB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4518, allocations: 0 / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000726/0.4525, allocations: 67.92 kB / 1.341 GB, free: 2.641 MB / 1.029 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.0003592/0.4529, allocations: 119.1 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009693/0.4539, allocations: 215.8 kB / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4539, allocations: 0 / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.4543, allocations: 103.9 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008329/0.4551, allocations: 59.17 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.4592, allocations: 1.233 MB / 1.343 GB, free: 0.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.4599, allocations: 343.1 kB / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.4601, allocations: 39.42 kB / 1.343 GB, free: 492 kB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/0.4601, allocations: 0 / 1.343 GB, free: 492 kB / 1.029 GB Notification: Performance of Templates: time 0.02402/0.4841, allocations: 7.494 MB / 1.35 GB, free: 9 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.834942635148764]