Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001781/0.001781, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001964/0.001964, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.87/2.87, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.408e-05/3.629e-05, allocations: 6.125 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.03432/0.03436, allocations: 12.97 MB / 0.7991 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007134/0.04149, allocations: 2.784 MB / 0.8018 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.04164, allocations: 0 / 0.8018 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.0421, allocations: 47.62 kB / 0.8019 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.04264, allocations: 99.28 kB / 0.802 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.04434, allocations: 0.5325 MB / 0.8025 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.04468, allocations: 239.8 kB / 0.8027 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.04473, allocations: 13.81 kB / 0.8027 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009982/0.05471, allocations: 3.641 MB / 0.8063 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.05493, allocations: 75.77 kB / 0.8063 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.05496, allocations: 8 kB / 0.8063 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.05823, allocations: 1.031 MB / 0.8074 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.05832, allocations: 43.81 kB / 0.8074 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.05843, allocations: 55.91 kB / 0.8075 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008184/0.05924, allocations: 390.8 kB / 0.8078 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.05925, allocations: 0 / 0.8078 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.263e-06/0.05925, allocations: 0 / 0.8078 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.05926, allocations: 0 / 0.8078 GB, free: 6.789 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009435/0.0602, allocations: 0.5423 MB / 0.8084 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.06024, allocations: 8.031 kB / 0.8084 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.06048, allocations: 52.64 kB / 0.8084 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.06075, allocations: 164.4 kB / 0.8086 GB, free: 5.965 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.06077, allocations: 12.7 kB / 0.8086 GB, free: 5.953 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.0608, allocations: 16.38 kB / 0.8086 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.06136, allocations: 446.1 kB / 0.809 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.06137, allocations: 4.172 kB / 0.809 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.0614, allocations: 12.12 kB / 0.809 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.06144, allocations: 11.94 kB / 0.809 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.06195, allocations: 339.5 kB / 0.8094 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.06344, allocations: 1.007 MB / 0.8104 GB, free: 4 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.06381, allocations: 154.5 kB / 0.8105 GB, free: 3.84 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.06393, allocations: 59.64 kB / 0.8106 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009176/0.06484, allocations: 0.5386 MB / 0.8111 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/0.06488, allocations: 37.39 kB / 0.8111 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.06488, allocations: 4 kB / 0.8111 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0004084/0.06529, allocations: 144.8 kB / 0.8113 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.06535, allocations: 55.39 kB / 0.8113 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.06557, allocations: 224 kB / 0.8115 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.06561, allocations: 33.7 kB / 0.8116 GB, free: 2.688 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.06579, allocations: 194.8 kB / 0.8117 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.06585, allocations: 55.53 kB / 0.8118 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.06595, allocations: 55.36 kB / 0.8119 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003067/0.06625, allocations: 0.5 MB / 0.8123 GB, free: 1.863 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.06633, allocations: 35.91 kB / 0.8124 GB, free: 1.828 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.06656, allocations: 191 kB / 0.8126 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.06688, allocations: 230.8 kB / 0.8128 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.06689, allocations: 0 / 0.8128 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004082/0.06729, allocations: 229.5 kB / 0.813 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.06732, allocations: 8 kB / 0.813 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.06733, allocations: 4 kB / 0.813 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.06735, allocations: 4 kB / 0.813 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.06755, allocations: 55.91 kB / 0.8131 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.06757, allocations: 15.88 kB / 0.8131 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.06768, allocations: 27.78 kB / 0.8131 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.06771, allocations: 15.98 kB / 0.8131 GB, free: 0.9219 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001686/0.06787, allocations: 176.5 kB / 0.8133 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.06794, allocations: 28 kB / 0.8133 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.06832, allocations: 143.4 kB / 0.8135 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.06834, allocations: 4 kB / 0.8135 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.06834, allocations: 0 / 0.8135 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.06835, allocations: 3.984 kB / 0.8135 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.0689, allocations: 176.4 kB / 0.8136 GB, free: 356 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0689, allocations: 3.938 kB / 0.8136 GB, free: 352 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.06903, allocations: 31.98 kB / 0.8137 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.06903, allocations: 0 / 0.8137 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.06904, allocations: 7.984 kB / 0.8137 GB, free: 312 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.06905, allocations: 4 kB / 0.8137 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.06905, allocations: 0 / 0.8137 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.06938, allocations: 285 kB / 0.8139 GB, free: 4 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.06949, allocations: 31.81 kB / 0.814 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.06952, allocations: 15.98 kB / 0.814 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.06968, allocations: 4 kB / 0.814 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.06972, allocations: 11.98 kB / 0.814 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.06974, allocations: 11.98 kB / 0.814 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000127/0.06987, allocations: 151.2 kB / 0.8142 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.06987, allocations: 4 kB / 0.8142 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004193/0.07029, allocations: 75.88 kB / 0.8142 GB, free: 15.7 MB / 0.7761 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000377/0.07067, allocations: 190.9 kB / 0.8144 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.07096, allocations: 134.1 kB / 0.8145 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.07096, allocations: 0 / 0.8145 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.07105, allocations: 47.61 kB / 0.8146 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.07147, allocations: 47.89 kB / 0.8146 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.07221, allocations: 319.8 kB / 0.8149 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.07233, allocations: 102.5 kB / 0.815 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.07249, allocations: 57.19 kB / 0.8151 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.07254, allocations: 24.5 kB / 0.8151 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.07254, allocations: 0 / 0.8151 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of Templates: time 0.008495/0.08104, allocations: 3.381 MB / 0.8184 GB, free: 11.44 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.080540742026642]