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.001479/0.001479, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001707/0.001707, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.961 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 2.978/2.978, allocations: 0.4899 GB / 0.7951 GB, free: 33.05 MB / 0.6231 GB " [Timeout remaining time 177] 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.001982/0.001982, allocations: 63.52 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 176.1 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006398/0.3439, allocations: 4.843 MB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.347, allocations: 2.741 MB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.3471, allocations: 4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.3474, allocations: 51.67 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.3477, allocations: 87.38 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3491, allocations: 0.5264 MB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.3494, allocations: 239.9 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.3495, allocations: 5.75 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.3497, allocations: 119.6 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.3499, allocations: 99.59 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3499, allocations: 8 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007479/0.3506, allocations: 387.3 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.3507, allocations: 35.89 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.3508, allocations: 83.64 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.3514, allocations: 374.8 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3514, allocations: 0 / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3514, allocations: 0 / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3514, allocations: 4 kB / 1.336 GB, free: 7.801 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.0008477/0.3523, allocations: 445.4 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3523, allocations: 8.031 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.3525, allocations: 24.84 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.3528, allocations: 154.3 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3528, allocations: 20.7 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3529, allocations: 12.38 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.3533, allocations: 256.1 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3533, allocations: 0 / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.3533, allocations: 12 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.3533, allocations: 4 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.3539, allocations: 447.5 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.3551, allocations: 0.9246 MB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3554, allocations: 149.7 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3555, allocations: 56.88 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008039/0.3563, allocations: 471.8 kB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.3563, allocations: 42.56 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.3563, allocations: 0 / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003683/0.3567, allocations: 143.8 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3568, allocations: 63.33 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3569, allocations: 163.2 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.357, allocations: 29.7 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3571, allocations: 152 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.3571, allocations: 47.59 kB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.3572, allocations: 53.66 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3574, allocations: 330.8 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.3574, allocations: 39.97 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3576, allocations: 133.7 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3579, allocations: 201.4 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3579, allocations: 0 / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003293/0.3582, allocations: 215.3 kB / 1.34 GB, free: 2.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3582, allocations: 8.469 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3582, allocations: 8 kB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3582, allocations: 4 kB / 1.34 GB, free: 2.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3584, allocations: 55.86 kB / 1.34 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.3584, allocations: 11.92 kB / 1.34 GB, free: 2.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3585, allocations: 27.78 kB / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3585, allocations: 12 kB / 1.34 GB, free: 2.797 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.0001172/0.3587, allocations: 134.2 kB / 1.34 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.3587, allocations: 19.91 kB / 1.34 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.359, allocations: 154.9 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.359, allocations: 7.938 kB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.359, allocations: 3.984 kB / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.359, allocations: 0 / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.3593, allocations: 184.6 kB / 1.341 GB, free: 2.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3593, allocations: 7.938 kB / 1.341 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.3594, allocations: 23.98 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3594, allocations: 0 / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3594, allocations: 4 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3594, allocations: 7.938 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3594, allocations: 0 / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.3597, allocations: 225.5 kB / 1.341 GB, free: 1.965 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.3598, allocations: 39.81 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3598, allocations: 0 / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.36, allocations: 19.92 kB / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.36, allocations: 7.984 kB / 1.341 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.36, allocations: 15.98 kB / 1.341 GB, free: 1.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000103/0.3602, allocations: 116.9 kB / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3602, allocations: 0 / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003807/0.3605, allocations: 87.84 kB / 1.341 GB, free: 1.684 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.0003177/0.3608, allocations: 175 kB / 1.341 GB, free: 1.504 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.3611, allocations: 119.7 kB / 1.342 GB, free: 1.387 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3611, allocations: 4 kB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/0.3612, allocations: 35.92 kB / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.3616, allocations: 60.81 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.3623, allocations: 346.9 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3627, allocations: 0.7168 MB / 1.343 GB, free: 184 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.3628, allocations: 41.83 kB / 1.343 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.3629, allocations: 23.44 kB / 1.343 GB, free: 120 kB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3629, allocations: 0 / 1.343 GB, free: 120 kB / 1.029 GB Notification: Performance of Templates: time 0.007595/0.3705, allocations: 3.614 MB / 1.346 GB, free: 12.54 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: 8.30547712277621]