Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.001352/0.001352, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001559/0.001559, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.408/3.408, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 71.23 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4234, allocations: 176.1 MB / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.008153/0.4315, allocations: 4.506 MB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003448/0.435, allocations: 2.465 MB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.4351, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.4354, allocations: 47.69 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.4357, allocations: 91.36 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.4373, allocations: 0.5391 MB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.4376, allocations: 228 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.055e-05/0.4376, allocations: 9.75 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.4379, allocations: 123.5 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.438, allocations: 83.64 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.438, allocations: 8 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007187/0.4388, allocations: 311.4 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.4388, allocations: 31.89 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.653e-05/0.4389, allocations: 87.7 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.4396, allocations: 350.8 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4396, allocations: 4 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4396, allocations: 0 / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.4396, allocations: 0 / 1.334 GB, free: 8.898 MB / 1.029 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.001009/0.4406, allocations: 445.4 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4407, allocations: 12.03 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.4409, allocations: 20.84 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.4413, allocations: 154.3 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.4413, allocations: 16.7 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.4413, allocations: 20.38 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.442, allocations: 495.3 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.442, allocations: 0 / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.442, allocations: 7.984 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.442, allocations: 11.98 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.4427, allocations: 415.5 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.4443, allocations: 0.7779 MB / 1.336 GB, free: 6.379 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.4447, allocations: 148.4 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.4448, allocations: 56.89 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008383/0.4456, allocations: 447.9 kB / 1.337 GB, free: 5.707 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.4457, allocations: 38.56 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.4457, allocations: 0 / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003787/0.446, allocations: 145.4 kB / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.4461, allocations: 55.41 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4463, allocations: 164.3 kB / 1.337 GB, free: 5.277 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.4463, allocations: 29.7 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4464, allocations: 152 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.4465, allocations: 55.53 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.4466, allocations: 49.7 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.4467, allocations: 322.8 kB / 1.338 GB, free: 4.656 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.4468, allocations: 39.97 kB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.447, allocations: 141.7 kB / 1.338 GB, free: 4.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.4473, allocations: 191.7 kB / 1.338 GB, free: 4.195 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.4473, allocations: 3.984 kB / 1.338 GB, free: 4.191 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003465/0.4476, allocations: 213.2 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4476, allocations: 13.66 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4476, allocations: 4 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4477, allocations: 4.469 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.4479, allocations: 71.84 kB / 1.339 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.4479, allocations: 7.938 kB / 1.339 GB, free: 3.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.448, allocations: 27.78 kB / 1.339 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.448, allocations: 12 kB / 1.339 GB, free: 3.84 MB / 1.029 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.0001272/0.4482, allocations: 134.2 kB / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.4482, allocations: 15.91 kB / 1.339 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.4485, allocations: 164.1 kB / 1.339 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.4486, allocations: 4 kB / 1.339 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4486, allocations: 3.938 kB / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4486, allocations: 0 / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.4488, allocations: 153.2 kB / 1.339 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4488, allocations: 4 kB / 1.339 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4489, allocations: 27.98 kB / 1.339 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4489, allocations: 4 kB / 1.339 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4489, allocations: 3.984 kB / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4489, allocations: 0 / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4489, allocations: 0 / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.4492, allocations: 223.3 kB / 1.339 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.4493, allocations: 31.81 kB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.4493, allocations: 0 / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4495, allocations: 19.98 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.4496, allocations: 11.97 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.4496, allocations: 19.92 kB / 1.34 GB, free: 2.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.533e-05/0.4497, allocations: 117.1 kB / 1.34 GB, free: 2.863 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4497, allocations: 0 / 1.34 GB, free: 2.863 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004031/0.4501, allocations: 75.88 kB / 1.34 GB, free: 2.789 MB / 1.029 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.0003748/0.4505, allocations: 186.9 kB / 1.34 GB, free: 2.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.4507, allocations: 110.6 kB / 1.34 GB, free: 2.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4507, allocations: 0 / 1.34 GB, free: 2.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.4508, allocations: 39.92 kB / 1.34 GB, free: 2.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.4512, allocations: 44.91 kB / 1.34 GB, free: 2.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.452, allocations: 344.1 kB / 1.34 GB, free: 2.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.4521, allocations: 110.8 kB / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.4523, allocations: 45.33 kB / 1.341 GB, free: 1.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.4523, allocations: 23.44 kB / 1.341 GB, free: 1.852 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4523, allocations: 0 / 1.341 GB, free: 1.852 MB / 1.029 GB Notification: Performance of Templates: time 0.008192/0.4605, allocations: 3.314 MB / 1.344 GB, free: 14.6 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.734246773645282]