Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.002014/0.002014, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002326/0.002326, allocations: 160 kB / 22.46 MB, free: 5.375 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.57/1.57, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.949/2.949, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.126e-05/4.345e-05, allocations: 5.656 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.005298/0.005341, allocations: 1.946 MB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.009266, allocations: 1.316 MB / 0.9846 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.009433, allocations: 0 / 0.9846 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.01048, allocations: 243 kB / 0.9849 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.01214, allocations: 446.3 kB / 0.9853 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 1.112e-05/0.01215, allocations: 3.938 kB / 0.9853 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.01281, allocations: 402.3 kB / 0.9857 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.755e-05/0.0129, allocations: 12.59 kB / 0.9857 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.01324, allocations: 191.4 kB / 0.9859 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.01363, allocations: 195.3 kB / 0.9861 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.0137, allocations: 20 kB / 0.9861 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008842/0.01458, allocations: 287.5 kB / 0.9863 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005532/0.01513, allocations: 383.2 kB / 0.9867 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.01551, allocations: 191.5 kB / 0.9869 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.01706, allocations: 0.8527 MB / 0.9877 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.01707, allocations: 4 kB / 0.9877 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01707, allocations: 0 / 0.9877 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.01708, allocations: 0 / 0.9877 GB, free: 5.512 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001885/0.01897, allocations: 0.8878 MB / 0.9886 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.01902, allocations: 8.031 kB / 0.9886 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009667/0.01999, allocations: 132.4 kB / 0.9887 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.02166, allocations: 0.8613 MB / 0.9896 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.02169, allocations: 12.38 kB / 0.9896 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.02175, allocations: 16.38 kB / 0.9896 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.02314, allocations: 0.6316 MB / 0.9902 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.02315, allocations: 192 / 0.9902 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.0232, allocations: 8.375 kB / 0.9902 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.02321, allocations: 11.94 kB / 0.9902 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.02546, allocations: 1.101 MB / 0.9913 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004216/0.02968, allocations: 1.902 MB / 0.9932 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.03093, allocations: 346.6 kB / 0.9935 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/0.03154, allocations: 220.8 kB / 0.9937 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/0.03161, allocations: 23.98 kB / 0.9937 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.03165, allocations: 30.56 kB / 0.9938 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 2.345e-06/0.03165, allocations: 0 / 0.9938 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.002068/0.03372, allocations: 0.7024 MB / 0.9944 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.03381, allocations: 63.28 kB / 0.9945 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004123/0.03793, allocations: 2.059 MB / 0.9965 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.03798, allocations: 33.7 kB / 0.9965 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.03848, allocations: 324.2 kB / 0.9969 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.0386, allocations: 67.38 kB / 0.9969 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.0388, allocations: 61.64 kB / 0.997 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.03903, allocations: 321.9 kB / 0.9973 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.04014, allocations: 0.531 MB / 0.9978 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.04129, allocations: 0.5522 MB / 0.9983 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.04295, allocations: 0.7685 MB / 0.9991 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.04296, allocations: 7.938 kB / 0.9991 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002615/0.04558, allocations: 1.208 MB / 1 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.04561, allocations: 6.188 kB / 1 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.04562, allocations: 0 / 1 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.04565, allocations: 4 kB / 1 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.04619, allocations: 71.83 kB / 1 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.04621, allocations: 4.031 kB / 1 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/0.04687, allocations: 27.88 kB / 1 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.04692, allocations: 11.98 kB / 1 GB, free: 8.348 MB / 0.9512 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.0005526/0.04747, allocations: 269.7 kB / 1.001 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.04765, allocations: 71.53 kB / 1.001 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.04924, allocations: 0.5374 MB / 1.001 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.04925, allocations: 4 kB / 1.001 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.04926, allocations: 3.938 kB / 1.001 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.04927, allocations: 3.984 kB / 1.001 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/0.05435, allocations: 2.457 MB / 1.004 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.05437, allocations: 4.594 kB / 1.004 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.05476, allocations: 55.89 kB / 1.004 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.05478, allocations: 8 kB / 1.004 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.05482, allocations: 12 kB / 1.004 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.727e-05/0.05484, allocations: 15.88 kB / 1.004 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.05485, allocations: 4 kB / 1.004 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.05642, allocations: 0.6481 MB / 1.004 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.05664, allocations: 87.48 kB / 1.004 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.05678, allocations: 8 kB / 1.004 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.0573, allocations: 23.92 kB / 1.005 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.05737, allocations: 27.84 kB / 1.005 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.0574, allocations: 12 kB / 1.005 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002681/0.06008, allocations: 1.585 MB / 1.006 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.06008, allocations: 0 / 1.006 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001002/0.06109, allocations: 179.8 kB / 1.006 GB, free: 2.164 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0005276/0.06161, allocations: 179 kB / 1.006 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.06344, allocations: 0.7612 MB / 1.007 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.06344, allocations: 0 / 1.007 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.06406, allocations: 223.8 kB / 1.007 GB, free: 1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.06549, allocations: 167.9 kB / 1.008 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.06944, allocations: 1.599 MB / 1.009 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.07019, allocations: 410.8 kB / 1.01 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000368/0.07056, allocations: 92.31 kB / 1.01 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.07077, allocations: 40.5 kB / 1.01 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of SimCode: time 7.71e-07/0.07077, allocations: 0 / 1.01 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.03139/0.1022, allocations: 10.54 MB / 1.02 GB, free: 4.289 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 8.962573412805796]