Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterProperties.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.001441/0.001441, allocations: 117.9 kB / 17.13 MB, free: 5.758 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.001287/0.001287, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.429/1.429, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 443.5 MB / 0.7293 GB, free: 14.72 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Media.Examples.WaterProperties,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_10_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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_10_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 1.057 GB, free: 2.086 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3261, allocations: 160.7 MB / 1.214 GB, free: 1.059 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007354/0.3335, allocations: 4.753 MB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3367, allocations: 2.699 MB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.3368, allocations: 0 / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.3371, allocations: 55.67 kB / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.3374, allocations: 91.36 kB / 1.221 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3387, allocations: 0.5172 MB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.339, allocations: 239.9 kB / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.3391, allocations: 9.562 kB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.3393, allocations: 115.5 kB / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.3395, allocations: 91.66 kB / 1.222 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3395, allocations: 8 kB / 1.222 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.3403, allocations: 371.3 kB / 1.223 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.3403, allocations: 43.89 kB / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.3404, allocations: 75.66 kB / 1.223 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.3411, allocations: 370.8 kB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3411, allocations: 4 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3411, allocations: 0 / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3411, allocations: 0 / 1.223 GB, free: 7.594 MB / 0.9669 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.0008575/0.342, allocations: 0.5009 MB / 1.224 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.342, allocations: 12.03 kB / 1.224 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.3422, allocations: 24.83 kB / 1.224 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3425, allocations: 208.2 kB / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.3425, allocations: 16.7 kB / 1.224 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.3425, allocations: 20.36 kB / 1.224 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.343, allocations: 252.2 kB / 1.224 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.343, allocations: 0 / 1.224 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.343, allocations: 8 kB / 1.224 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.343, allocations: 8 kB / 1.224 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.3436, allocations: 427.5 kB / 1.225 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.3449, allocations: 0.9604 MB / 1.226 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.3452, allocations: 142.9 kB / 1.226 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3453, allocations: 60.86 kB / 1.226 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/0.347, allocations: 1.825 MB / 1.228 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.347, allocations: 42.56 kB / 1.228 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/0.347, allocations: 0 / 1.228 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003669/0.3474, allocations: 148.4 kB / 1.228 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.3474, allocations: 59.34 kB / 1.228 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3476, allocations: 176.6 kB / 1.228 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3477, allocations: 33.7 kB / 1.228 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3478, allocations: 140.1 kB / 1.228 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.3478, allocations: 55.58 kB / 1.228 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.3479, allocations: 49.7 kB / 1.228 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3481, allocations: 330.8 kB / 1.229 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.3481, allocations: 31.92 kB / 1.229 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.3483, allocations: 151 kB / 1.229 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.3486, allocations: 197.5 kB / 1.229 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3486, allocations: 0 / 1.229 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003559/0.3489, allocations: 224.3 kB / 1.229 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3489, allocations: 5.719 kB / 1.229 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.349, allocations: 4 kB / 1.229 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.349, allocations: 8 kB / 1.229 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.3492, allocations: 59.84 kB / 1.229 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3492, allocations: 4 kB / 1.229 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3493, allocations: 23.84 kB / 1.229 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.3493, allocations: 12 kB / 1.229 GB, free: 0.707 MB / 0.9669 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.0001338/0.3494, allocations: 133.8 kB / 1.229 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.3495, allocations: 19.91 kB / 1.229 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.3498, allocations: 158.9 kB / 1.23 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3498, allocations: 3.938 kB / 1.23 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3498, allocations: 0 / 1.23 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3498, allocations: 4 kB / 1.23 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3501, allocations: 213.6 kB / 1.23 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3501, allocations: 0 / 1.23 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.3502, allocations: 27.92 kB / 1.23 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3502, allocations: 0 / 1.23 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3502, allocations: 8 kB / 1.23 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3502, allocations: 3.938 kB / 1.23 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3502, allocations: 4 kB / 1.23 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.3505, allocations: 223.4 kB / 1.23 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3506, allocations: 112.9 kB / 1.23 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3506, allocations: 0 / 1.23 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.3508, allocations: 19.92 kB / 1.23 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.3509, allocations: 15.98 kB / 1.23 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.3509, allocations: 8 kB / 1.23 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.624e-05/0.351, allocations: 120 kB / 1.23 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.351, allocations: 0 / 1.23 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003985/0.3514, allocations: 79.86 kB / 1.23 GB, free: 15.47 MB / 0.9825 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.000351/0.3517, allocations: 190.8 kB / 1.231 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.352, allocations: 114 kB / 1.231 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.352, allocations: 0 / 1.231 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.3521, allocations: 39.92 kB / 1.231 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3525, allocations: 60.81 kB / 1.231 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.3533, allocations: 376.1 kB / 1.231 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.3536, allocations: 0.7167 MB / 1.232 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.3537, allocations: 27.44 kB / 1.232 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3537, allocations: 0 / 1.232 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.005905/0.3596, allocations: 3.181 MB / 1.235 GB, free: 10.73 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.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: 10.851492543006316]