Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 105.3 kB / 18.05 MB, free: 4.309 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 189.8 kB / 21.17 MB, free: 1.199 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 225.6 MB / 249.7 MB, free: 3.238 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 489.7 MB / 0.7759 GB, free: 2.633 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 63.91 kB / 1.126 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 172 MB / 1.294 GB, free: 38.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00262/1.04, allocations: 2.068 MB / 1.297 GB, free: 37.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001868/1.041, allocations: 1.376 MB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.22e-05/1.042, allocations: 3.938 kB / 1.298 GB, free: 36.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/1.042, allocations: 255.8 kB / 1.298 GB, free: 36.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000833/1.043, allocations: 443.9 kB / 1.299 GB, free: 35.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.534e-06/1.043, allocations: 0 / 1.299 GB, free: 35.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/1.043, allocations: 393.5 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/1.043, allocations: 9.594 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/1.043, allocations: 143 kB / 1.299 GB, free: 35.63 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/1.044, allocations: 211.3 kB / 1.299 GB, free: 35.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/1.044, allocations: 24.41 kB / 1.299 GB, free: 35.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/1.044, allocations: 283.6 kB / 1.3 GB, free: 35.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/1.044, allocations: 373.1 kB / 1.3 GB, free: 35.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/1.044, allocations: 307.9 kB / 1.3 GB, free: 35.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006268/1.045, allocations: 0.8475 MB / 1.301 GB, free: 34.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.045, allocations: 0 / 1.301 GB, free: 34.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.724e-06/1.045, allocations: 3.938 kB / 1.301 GB, free: 34.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.045, allocations: 0 / 1.301 GB, free: 34.92 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000929/1.046, allocations: 0.9646 MB / 1.302 GB, free: 34.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.046, allocations: 12.53 kB / 1.302 GB, free: 34.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/1.047, allocations: 131.2 kB / 1.302 GB, free: 34.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/1.047, allocations: 0.9172 MB / 1.303 GB, free: 33.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.047, allocations: 11.88 kB / 1.303 GB, free: 33.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/1.047, allocations: 12.47 kB / 1.303 GB, free: 33.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/1.048, allocations: 0.6391 MB / 1.304 GB, free: 33.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.048, allocations: 4 kB / 1.304 GB, free: 33.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/1.048, allocations: 4 kB / 1.304 GB, free: 33.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.048, allocations: 4.875 kB / 1.304 GB, free: 33.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009885/1.049, allocations: 1.105 MB / 1.305 GB, free: 33.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/1.051, allocations: 2.048 MB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/1.052, allocations: 339 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/1.052, allocations: 223.7 kB / 1.307 GB, free: 32.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/1.052, allocations: 21.5 kB / 1.307 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/1.052, allocations: 41.38 kB / 1.307 GB, free: 32.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.854e-06/1.052, allocations: 0 / 1.307 GB, free: 32.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001014/1.053, allocations: 0.7023 MB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/1.053, allocations: 51.41 kB / 1.308 GB, free: 31.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/1.055, allocations: 2.075 MB / 1.31 GB, free: 31.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.055, allocations: 28.33 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/1.055, allocations: 333.5 kB / 1.31 GB, free: 30.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/1.055, allocations: 69.89 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/1.055, allocations: 56.52 kB / 1.311 GB, free: 30.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/1.055, allocations: 320.2 kB / 1.311 GB, free: 30.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/1.056, allocations: 0.5222 MB / 1.311 GB, free: 30.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/1.056, allocations: 0.555 MB / 1.312 GB, free: 30.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007728/1.057, allocations: 0.7763 MB / 1.313 GB, free: 29.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.057, allocations: 0 / 1.313 GB, free: 29.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001176/1.058, allocations: 1.202 MB / 1.314 GB, free: 29.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.058, allocations: 9.375 kB / 1.314 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.058, allocations: 4.031 kB / 1.314 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.058, allocations: 2.719 kB / 1.314 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/1.059, allocations: 71.27 kB / 1.314 GB, free: 29.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.059, allocations: 0 / 1.314 GB, free: 29.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/1.059, allocations: 37.09 kB / 1.314 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.059, allocations: 8.875 kB / 1.314 GB, free: 29.6 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0002359/1.059, allocations: 275.6 kB / 1.314 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/1.059, allocations: 79.06 kB / 1.314 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007685/1.06, allocations: 0.536 MB / 1.315 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.06, allocations: 3 kB / 1.315 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.06, allocations: 4 kB / 1.315 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/1.06, allocations: 155.8 kB / 1.315 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/1.06, allocations: 6.781 kB / 1.315 GB, free: 29.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/1.061, allocations: 23.7 kB / 1.315 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/1.061, allocations: 8.938 kB / 1.315 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008615/1.062, allocations: 0.5435 MB / 1.316 GB, free: 28.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008726/1.062, allocations: 0.6808 MB / 1.316 GB, free: 28.48 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003611/1.063, allocations: 210.6 kB / 1.316 GB, free: 28.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001676/1.065, allocations: 1.593 MB / 1.318 GB, free: 27.85 MB / 1.061 GB Notification: Performance of Backend: time 3.61e-07/1.065, allocations: 4 kB / 1.318 GB, free: 27.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001662/1.066, allocations: 0.7037 MB / 1.319 GB, free: 27.63 MB / 1.061 GB Notification: Performance of SimCode: time 0.002873/1.069, allocations: 1.94 MB / 1.321 GB, free: 26.44 MB / 1.061 GB Notification: Performance of Templates: time 0.02639/1.095, allocations: 11.78 MB / 1.332 GB, free: 25.55 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches