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.001219/0.001219, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001332/0.001332, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.322/1.322, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 179] 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.922/2.922, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.001935/0.001935, allocations: 62.75 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2941, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006136/0.3003, allocations: 4.842 MB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003025/0.3033, allocations: 2.734 MB / 1.335 GB, free: 9.832 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.3034, allocations: 3.938 kB / 1.335 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.3036, allocations: 55.67 kB / 1.335 GB, free: 9.773 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.3039, allocations: 91.42 kB / 1.335 GB, free: 9.684 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3051, allocations: 0.5297 MB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.3054, allocations: 231.9 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.3055, allocations: 5.75 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.3057, allocations: 123.5 kB / 1.336 GB, free: 8.805 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3058, allocations: 95.64 kB / 1.336 GB, free: 8.711 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3058, allocations: 8 kB / 1.336 GB, free: 8.703 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007655/0.3066, allocations: 391.2 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.3067, allocations: 35.89 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.485e-05/0.3068, allocations: 83.66 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.3073, allocations: 370.7 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3073, allocations: 0 / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3073, allocations: 0 / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3073, allocations: 0 / 1.336 GB, free: 7.84 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.0007546/0.3081, allocations: 457.4 kB / 1.337 GB, free: 7.359 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3081, allocations: 12.02 kB / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3083, allocations: 20.84 kB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3085, allocations: 158.3 kB / 1.337 GB, free: 7.148 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3086, allocations: 8.703 kB / 1.337 GB, free: 7.141 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3086, allocations: 16.38 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.309, allocations: 264.1 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.309, allocations: 4 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.309, allocations: 8 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.309, allocations: 8 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.3095, allocations: 439.5 kB / 1.338 GB, free: 6.398 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.3107, allocations: 0.9284 MB / 1.339 GB, free: 5.387 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.311, allocations: 148.8 kB / 1.339 GB, free: 5.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3111, allocations: 56.88 kB / 1.339 GB, free: 5.172 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007606/0.3119, allocations: 467.9 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3119, allocations: 38.48 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.3119, allocations: 0 / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003344/0.3123, allocations: 145.5 kB / 1.34 GB, free: 4.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3123, allocations: 55.34 kB / 1.34 GB, free: 4.434 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3125, allocations: 180.1 kB / 1.34 GB, free: 4.246 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3125, allocations: 25.7 kB / 1.34 GB, free: 4.215 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3126, allocations: 148 kB / 1.34 GB, free: 4.066 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.3126, allocations: 51.59 kB / 1.34 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.3127, allocations: 53.66 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3129, allocations: 326.8 kB / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.3129, allocations: 31.98 kB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3131, allocations: 145.6 kB / 1.341 GB, free: 3.406 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.3133, allocations: 196.9 kB / 1.341 GB, free: 3.168 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3133, allocations: 4 kB / 1.341 GB, free: 3.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003349/0.3137, allocations: 217.2 kB / 1.341 GB, free: 2.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3137, allocations: 11.98 kB / 1.341 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3137, allocations: 4 kB / 1.341 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3137, allocations: 4 kB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3139, allocations: 56.33 kB / 1.341 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3139, allocations: 8 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.314, allocations: 27.78 kB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.314, allocations: 19.98 kB / 1.341 GB, free: 2.816 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.0001746/0.3142, allocations: 138.1 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.3143, allocations: 15.91 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.3146, allocations: 154.9 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3146, allocations: 3.938 kB / 1.341 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3146, allocations: 4 kB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3146, allocations: 3.984 kB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.3148, allocations: 184.6 kB / 1.342 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3148, allocations: 4 kB / 1.342 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-05/0.3149, allocations: 23.98 kB / 1.342 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3149, allocations: 4 kB / 1.342 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.3149, allocations: 0 / 1.342 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3149, allocations: 3.938 kB / 1.342 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3149, allocations: 3.938 kB / 1.342 GB, free: 2.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.3152, allocations: 226.5 kB / 1.342 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.3153, allocations: 35.81 kB / 1.342 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3153, allocations: 4 kB / 1.342 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3155, allocations: 15.92 kB / 1.342 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.3155, allocations: 11.98 kB / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.3155, allocations: 15.98 kB / 1.342 GB, free: 1.906 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.89e-05/0.3156, allocations: 119.9 kB / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3156, allocations: 0 / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004195/0.3161, allocations: 83.86 kB / 1.342 GB, free: 1.707 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.0003612/0.3164, allocations: 186.9 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3167, allocations: 112.3 kB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.3167, allocations: 4.312 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.541e-05/0.3167, allocations: 39.98 kB / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.3172, allocations: 45.53 kB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.318, allocations: 381.7 kB / 1.343 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3184, allocations: 0.709 MB / 1.343 GB, free: 180 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.3185, allocations: 35.42 kB / 1.344 GB, free: 144 kB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3185, allocations: 0 / 1.344 GB, free: 144 kB / 1.029 GB Notification: Performance of Templates: time 0.005783/0.3243, allocations: 3.242 MB / 1.347 GB, free: 12.92 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/jenkins1/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: 10.3567791620153]