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.001639/0.001639, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.00179/0.00179, allocations: 185.3 kB / 22.22 MB, free: 5.105 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.543/1.543, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002065/0.002065, allocations: 67.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 160.8 MB / 1.218 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004055/1.044, allocations: 2.283 MB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001727/1.045, allocations: 0.9586 MB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/1.046, allocations: 1.156 kB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006881/1.046, allocations: 202.8 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/1.046, allocations: 64.05 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/1.047, allocations: 118.5 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000314/1.047, allocations: 222.2 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/1.047, allocations: 66.2 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/1.048, allocations: 88.23 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/1.048, allocations: 100.8 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/1.048, allocations: 16.97 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/1.048, allocations: 159.5 kB / 1.223 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/1.048, allocations: 219.4 kB / 1.223 GB, free: 408 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000251/1.049, allocations: 266 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000884/1.049, allocations: 0.7224 MB / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.049, allocations: 3.938 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/1.049, allocations: 5.125 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.163e-05/1.049, allocations: 0 / 1.224 GB, free: 15.66 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.001534/1.051, allocations: 0.9988 MB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.051, allocations: 13.91 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006084/1.052, allocations: 124.2 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009583/1.053, allocations: 0.5931 MB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/1.053, allocations: 9.438 kB / 1.226 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/1.053, allocations: 11.84 kB / 1.226 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/1.053, allocations: 210.7 kB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.053, allocations: 192 / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/1.053, allocations: 9.125 kB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.053, allocations: 4.125 kB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/1.054, allocations: 227.2 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/1.055, allocations: 0.9201 MB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006591/1.056, allocations: 307.4 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/1.056, allocations: 100.2 kB / 1.227 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/1.057, allocations: 241.5 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.057, allocations: 31.78 kB / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/1.057, allocations: 3.938 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0008339/1.057, allocations: 402.3 kB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.058, allocations: 60.78 kB / 1.228 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.059, allocations: 0.9916 MB / 1.229 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.059, allocations: 30.86 kB / 1.229 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/1.059, allocations: 351.2 kB / 1.229 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/1.059, allocations: 31.83 kB / 1.229 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/1.059, allocations: 25.27 kB / 1.229 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.059, allocations: 323.1 kB / 1.23 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/1.06, allocations: 95.14 kB / 1.23 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/1.06, allocations: 117.6 kB / 1.23 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/1.06, allocations: 230.2 kB / 1.23 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.06, allocations: 0 / 1.23 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005954/1.061, allocations: 325 kB / 1.23 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.061, allocations: 8 kB / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.061, allocations: 0 / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.061, allocations: 0 / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.061, allocations: 27.92 kB / 1.23 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.061, allocations: 64 / 1.23 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/1.061, allocations: 19.94 kB / 1.23 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/1.061, allocations: 4 kB / 1.23 GB, free: 10.77 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.0002901/1.062, allocations: 253.2 kB / 1.231 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/1.062, allocations: 79.47 kB / 1.231 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006689/1.062, allocations: 332.3 kB / 1.231 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.062, allocations: 0 / 1.231 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.062, allocations: 4 kB / 1.231 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.062, allocations: 0 / 1.231 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/1.063, allocations: 0.5247 MB / 1.232 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.063, allocations: 3.938 kB / 1.232 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/1.063, allocations: 23.92 kB / 1.232 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.063, allocations: 0 / 1.232 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.063, allocations: 0 / 1.232 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.063, allocations: 0 / 1.232 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.063, allocations: 4 kB / 1.232 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/1.064, allocations: 418.9 kB / 1.232 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/1.064, allocations: 184.5 kB / 1.232 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/1.064, allocations: 4 kB / 1.232 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/1.064, allocations: 11.98 kB / 1.232 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/1.064, allocations: 7.984 kB / 1.232 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/1.064, allocations: 4 kB / 1.232 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009563/1.065, allocations: 0.7215 MB / 1.233 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.065, allocations: 0 / 1.233 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004013/1.066, allocations: 67.89 kB / 1.233 GB, free: 8.055 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.0002114/1.066, allocations: 111.2 kB / 1.233 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005023/1.066, allocations: 219.8 kB / 1.233 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.066, allocations: 0 / 1.233 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/1.067, allocations: 103.9 kB / 1.233 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/1.067, allocations: 63.36 kB / 1.233 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/1.069, allocations: 1.173 MB / 1.235 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007587/1.07, allocations: 0.9375 MB / 1.236 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002076/1.07, allocations: 85.31 kB / 1.236 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/1.07, allocations: 31.44 kB / 1.236 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/1.07, allocations: 0 / 1.236 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.01184/1.082, allocations: 4.548 MB / 1.24 GB, free: 0.7422 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 -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/jenkins/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: 9.252246624790132]