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.001319/0.001319, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001459/0.001459, allocations: 214.4 kB / 22.99 MB, free: 4.984 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.173/3.173, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002015/0.002015, allocations: 62.61 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 176.1 MB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006602/0.31, allocations: 4.52 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.3131, allocations: 2.453 MB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.3132, allocations: 0 / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.3135, allocations: 55.61 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.3138, allocations: 99.36 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.3151, allocations: 0.5151 MB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.3155, allocations: 243.8 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.3155, allocations: 5.75 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.3157, allocations: 119.6 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3159, allocations: 95.59 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3159, allocations: 8 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.3165, allocations: 315.4 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.3166, allocations: 39.89 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.3167, allocations: 71.72 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.3173, allocations: 354.8 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3173, allocations: 0 / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3173, allocations: 0 / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3173, allocations: 0 / 1.336 GB, free: 8.004 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.0008263/0.3181, allocations: 453.4 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3181, allocations: 8.031 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3183, allocations: 24.83 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3187, allocations: 158.2 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3187, allocations: 16.7 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.3187, allocations: 12.38 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.3193, allocations: 491.5 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3193, allocations: 0 / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3193, allocations: 8 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.3193, allocations: 7.938 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.3199, allocations: 423.5 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.321, allocations: 0.774 MB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.3214, allocations: 149.8 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3215, allocations: 52.88 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008089/0.3223, allocations: 459.8 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3223, allocations: 38.56 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.3223, allocations: 0 / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003599/0.3227, allocations: 147.9 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.3227, allocations: 55.34 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3229, allocations: 166 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3229, allocations: 33.7 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.323, allocations: 148.1 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.3231, allocations: 51.52 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.3231, allocations: 49.7 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3233, allocations: 330.8 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.3234, allocations: 31.98 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3235, allocations: 141.7 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.3238, allocations: 195.3 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3238, allocations: 4 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003693/0.3241, allocations: 213.5 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3242, allocations: 8 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3242, allocations: 7.938 kB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.3242, allocations: 7.984 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3244, allocations: 55.92 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3244, allocations: 7.938 kB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3245, allocations: 35.77 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.3246, allocations: 15.94 kB / 1.34 GB, free: 2.938 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.0001287/0.3247, allocations: 138.4 kB / 1.34 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.3247, allocations: 11.91 kB / 1.34 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.3251, allocations: 152.5 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.3251, allocations: 0 / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3251, allocations: 3.938 kB / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3251, allocations: 7.984 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.3253, allocations: 153.2 kB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3253, allocations: 4 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.3254, allocations: 35.92 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3255, allocations: 0 / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3255, allocations: 4 kB / 1.341 GB, free: 2.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3255, allocations: 4 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3255, allocations: 0 / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.3257, allocations: 211.4 kB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.3258, allocations: 39.8 kB / 1.341 GB, free: 2.129 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3259, allocations: 4 kB / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3261, allocations: 11.98 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3261, allocations: 11.98 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.3262, allocations: 15.92 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.366e-05/0.3262, allocations: 109 kB / 1.341 GB, free: 1.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3262, allocations: 3.938 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004202/0.3267, allocations: 87.86 kB / 1.341 GB, free: 1.891 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.0003656/0.327, allocations: 182.9 kB / 1.341 GB, free: 1.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003589/0.3274, allocations: 112.4 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3274, allocations: 4 kB / 1.342 GB, free: 1.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.3275, allocations: 42.59 kB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.3281, allocations: 42.08 kB / 1.342 GB, free: 1.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.3291, allocations: 352.4 kB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3292, allocations: 102.9 kB / 1.342 GB, free: 1.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.3294, allocations: 41.36 kB / 1.342 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.3295, allocations: 23.44 kB / 1.342 GB, free: 0.957 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3295, allocations: 0 / 1.342 GB, free: 0.957 MB / 1.029 GB Notification: Performance of Templates: time 0.01057/0.3401, allocations: 3.383 MB / 1.345 GB, free: 13.63 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 -s gbode -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: 8.59997576000751]