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.001871/0.001871, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002385/0.002385, allocations: 209.8 kB / 22.99 MB, free: 4.957 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.646/1.646, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.485/3.485, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002064/0.002064, allocations: 62.44 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5159/0.5179, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.006176/0.5241, allocations: 2.18 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002539/0.5266, allocations: 0.8777 MB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.5268, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000968/0.5278, allocations: 178.9 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.528, allocations: 71.44 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.5286, allocations: 115.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.529, allocations: 223.1 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.5292, allocations: 69.91 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.5294, allocations: 87.58 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.5296, allocations: 103.4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.5297, allocations: 16 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.5302, allocations: 147.8 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.5305, allocations: 223.3 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.5307, allocations: 186.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.532, allocations: 0.7348 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5321, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5321, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.5321, allocations: 0 / 1.332 GB, free: 11.73 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.00205/0.5341, allocations: 0.9304 MB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.5342, allocations: 8.031 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/0.535, allocations: 124.3 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.5366, allocations: 0.5416 MB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.5366, allocations: 12.38 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.5367, allocations: 12.38 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.5373, allocations: 198.1 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.5373, allocations: 192 / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.5373, allocations: 11.94 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.5373, allocations: 0 / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.538, allocations: 227.8 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.5399, allocations: 0.7926 MB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.5411, allocations: 306.5 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.5414, allocations: 104.9 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.5426, allocations: 159.9 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.5426, allocations: 42.5 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.5426, allocations: 3.938 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001275/0.5439, allocations: 401 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.544, allocations: 59.41 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.5462, allocations: 0.9935 MB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.5462, allocations: 25.7 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.5468, allocations: 344.1 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.5468, allocations: 39.67 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.547, allocations: 29.7 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.5472, allocations: 310 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.5475, allocations: 91.95 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.5478, allocations: 126.5 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.5485, allocations: 218.8 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5485, allocations: 4 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008551/0.5493, allocations: 325 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5494, allocations: 7.938 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5494, allocations: 4 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5494, allocations: 0 / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.5497, allocations: 32.03 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.5497, allocations: 0 / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.5499, allocations: 4 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.55, allocations: 4 kB / 1.338 GB, free: 5.098 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.0004759/0.5504, allocations: 254.2 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.5506, allocations: 79.42 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000975/0.5516, allocations: 336.4 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5516, allocations: 0 / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5516, allocations: 0 / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5516, allocations: 0 / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.5522, allocations: 424.9 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5522, allocations: 4 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.5524, allocations: 19.98 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5524, allocations: 4 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.5524, allocations: 11.92 kB / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5524, allocations: 0 / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5524, allocations: 4 kB / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.5534, allocations: 407 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.5537, allocations: 107.4 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.005e-05/0.5538, allocations: 3.938 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.5541, allocations: 11.98 kB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.5541, allocations: 11.98 kB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.5542, allocations: 4 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001445/0.5556, allocations: 0.7176 MB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5556, allocations: 0 / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005889/0.5562, allocations: 67.94 kB / 1.341 GB, free: 2.605 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.000279/0.5565, allocations: 107.1 kB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006943/0.5572, allocations: 215.9 kB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5572, allocations: 0 / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.5575, allocations: 104 kB / 1.341 GB, free: 2.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.5581, allocations: 51.28 kB / 1.341 GB, free: 2.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.5609, allocations: 1.181 MB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.5615, allocations: 351.1 kB / 1.343 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003065/0.5618, allocations: 77.31 kB / 1.343 GB, free: 488 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.562, allocations: 35.44 kB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/0.562, allocations: 0 / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of Templates: time 0.01878/0.5808, allocations: 5.177 MB / 1.348 GB, free: 11.28 MB / 1.045 GB " [Timeout remaining time 299] 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 -s cvode -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: 10.378198897989932]