Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001939/0.001939, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.002537/0.002537, allocations: 163.1 kB / 22.46 MB, free: 5.355 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.633/1.633, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.075/3.075, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.23e-05/3.422e-05, allocations: 9.797 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003754/0.003788, allocations: 2.071 MB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.006435, allocations: 1.305 MB / 1.003 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.006532, allocations: 4 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.007283, allocations: 243 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.008402, allocations: 447.9 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.085e-06/0.00841, allocations: 0 / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.008857, allocations: 406.4 kB / 1.005 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.521e-05/0.008922, allocations: 8.594 kB / 1.005 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.009158, allocations: 195.4 kB / 1.005 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.009434, allocations: 191.3 kB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.009478, allocations: 24 kB / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.01003, allocations: 279.5 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.01042, allocations: 383.2 kB / 1.006 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.01068, allocations: 195.4 kB / 1.006 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.01178, allocations: 0.8527 MB / 1.007 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01179, allocations: 0 / 1.007 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/0.01179, allocations: 0 / 1.007 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.0118, allocations: 4 kB / 1.007 GB, free: 0.7109 MB / 0.9512 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.001379/0.01318, allocations: 0.886 MB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.01323, allocations: 8.031 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006506/0.01388, allocations: 136.4 kB / 1.008 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.01499, allocations: 0.8575 MB / 1.008 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.01501, allocations: 8.375 kB / 1.008 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.01505, allocations: 16.38 kB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.01601, allocations: 0.6319 MB / 1.009 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.01602, allocations: 4.125 kB / 1.009 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.01605, allocations: 6.25 kB / 1.009 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.01606, allocations: 4 kB / 1.009 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.01755, allocations: 1.105 MB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.02028, allocations: 1.922 MB / 1.012 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.02111, allocations: 334.6 kB / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.0215, allocations: 224.8 kB / 1.013 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.02155, allocations: 23.98 kB / 1.013 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.02157, allocations: 34.56 kB / 1.013 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.02158, allocations: 0 / 1.013 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001333/0.02291, allocations: 0.6983 MB / 1.013 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.02296, allocations: 51.41 kB / 1.013 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.02554, allocations: 2.07 MB / 1.015 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.02557, allocations: 25.7 kB / 1.015 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.02589, allocations: 328.2 kB / 1.016 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.02596, allocations: 67.38 kB / 1.016 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.02608, allocations: 61.64 kB / 1.016 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.02624, allocations: 314 kB / 1.016 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.02696, allocations: 0.531 MB / 1.017 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.02766, allocations: 0.5522 MB / 1.017 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.02873, allocations: 0.7791 MB / 1.018 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02873, allocations: 0 / 1.018 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001676/0.03041, allocations: 1.216 MB / 1.019 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.03043, allocations: 8 kB / 1.019 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.03044, allocations: 0 / 1.019 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.03047, allocations: 0 / 1.019 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.03083, allocations: 67.89 kB / 1.019 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.03084, allocations: 4 kB / 1.019 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.03122, allocations: 23.88 kB / 1.019 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.03126, allocations: 15.98 kB / 1.019 GB, free: 3.543 MB / 0.9669 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.0003458/0.0316, allocations: 274.1 kB / 1.019 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.03172, allocations: 75.47 kB / 1.02 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.0327, allocations: 0.5377 MB / 1.02 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.03271, allocations: 0 / 1.02 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.03271, allocations: 0 / 1.02 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.03272, allocations: 15.92 kB / 1.02 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.03606, allocations: 2.45 MB / 1.022 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.03607, allocations: 4 kB / 1.022 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.03634, allocations: 51.89 kB / 1.023 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.03635, allocations: 4 kB / 1.023 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.03637, allocations: 8 kB / 1.023 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.03638, allocations: 7.938 kB / 1.023 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.138e-05/0.03641, allocations: 12.05 kB / 1.023 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.03749, allocations: 0.6523 MB / 1.023 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.03765, allocations: 87.48 kB / 1.023 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.03774, allocations: 4 kB / 1.023 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.03806, allocations: 19.98 kB / 1.023 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.03813, allocations: 39.83 kB / 1.023 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.03815, allocations: 8 kB / 1.023 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001809/0.03996, allocations: 1.585 MB / 1.025 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.03996, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006292/0.04059, allocations: 175.8 kB / 1.025 GB, free: 13.36 MB / 0.9825 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.0004569/0.04104, allocations: 182.9 kB / 1.025 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.04234, allocations: 0.769 MB / 1.026 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.04235, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.04274, allocations: 216.6 kB / 1.026 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.0436, allocations: 179.1 kB / 1.026 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.04636, allocations: 1.603 MB / 1.028 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.04688, allocations: 402.8 kB / 1.028 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000265/0.04715, allocations: 84.39 kB / 1.028 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.04729, allocations: 44.5 kB / 1.028 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.04729, allocations: 0 / 1.028 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of Templates: time 0.02182/0.06911, allocations: 10.54 MB / 1.039 GB, free: 15.45 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.611213017255068]