Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamProperties.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.0007694/0.0007694, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001823, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006833/0.0006833, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009111/0.001594, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9645/0.9645, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08656/1.051, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.858/1.858, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4615/2.319, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.207e-05, allocations: 4.969 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1306/0.1306, allocations: 131.8 MB / 0.8584 GB, free: 332 kB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02201/0.1527, allocations: 22.37 MB / 0.8802 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1528, allocations: 3.938 kB / 0.8802 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.1531, allocations: 39.64 kB / 0.8803 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.1533, allocations: 99.34 kB / 0.8803 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01427/0.1676, allocations: 6.258 MB / 0.8865 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.168, allocations: 255.8 kB / 0.8867 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.168, allocations: 10.45 kB / 0.8867 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003599/0.1684, allocations: 187.4 kB / 0.8869 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1685, allocations: 75.78 kB / 0.887 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1686, allocations: 8 kB / 0.887 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01987/0.1884, allocations: 12 MB / 0.8987 GB, free: 6.918 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1886, allocations: 27.88 kB / 0.8987 GB, free: 6.891 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1887, allocations: 47.94 kB / 0.8988 GB, free: 6.844 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.2041, allocations: 6.219 MB / 0.9048 GB, free: 0.6133 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.2041, allocations: 0 / 0.9048 GB, free: 0.6133 MB / 0.8699 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2041, allocations: 0 / 0.9048 GB, free: 0.6133 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.2041, allocations: 0 / 0.9048 GB, free: 0.6133 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003956/0.208, allocations: 1.662 MB / 0.9065 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2081, allocations: 8.031 kB / 0.9065 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.2088, allocations: 164.3 kB / 0.9066 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.209, allocations: 161.5 kB / 0.9068 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.209, allocations: 12.38 kB / 0.9068 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.209, allocations: 20.38 kB / 0.9068 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/0.2097, allocations: 0.5898 MB / 0.9074 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2097, allocations: 4 kB / 0.9074 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.2097, allocations: 8 kB / 0.9074 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2097, allocations: 4 kB / 0.9074 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.2102, allocations: 399.8 kB / 0.9078 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.2108, allocations: 0.6227 MB / 0.9084 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.2112, allocations: 222.3 kB / 0.9086 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.2113, allocations: 40.84 kB / 0.9086 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04285/0.2541, allocations: 24.79 MB / 0.9328 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2542, allocations: 38.56 kB / 0.9329 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.2542, allocations: 0 / 0.9329 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.0008685/0.255, allocations: 391.9 kB / 0.9333 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.2551, allocations: 55.41 kB / 0.9333 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.2551, allocations: 122.7 kB / 0.9334 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2551, allocations: 33.7 kB / 0.9335 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.2552, allocations: 112.5 kB / 0.9336 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.2553, allocations: 95.14 kB / 0.9337 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.2554, allocations: 65.64 kB / 0.9337 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.2555, allocations: 326.8 kB / 0.934 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.2555, allocations: 63.94 kB / 0.9341 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2556, allocations: 113 kB / 0.9342 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.2558, allocations: 198.1 kB / 0.9344 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2558, allocations: 0 / 0.9344 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003168/0.2562, allocations: 237.2 kB / 0.9346 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2562, allocations: 8 kB / 0.9346 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2562, allocations: 3.938 kB / 0.9346 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2562, allocations: 4 kB / 0.9346 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.2564, allocations: 87.91 kB / 0.9347 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2564, allocations: 11.92 kB / 0.9347 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.2564, allocations: 19.83 kB / 0.9347 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.2565, allocations: 19.98 kB / 0.9348 GB, free: 1.637 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * Array equations: 0 * 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 8.606e-05/0.2566, allocations: 124.6 kB / 0.9349 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.2567, allocations: 47.62 kB / 0.9349 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.2576, allocations: 1.366 MB / 0.9363 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2576, allocations: 11.98 kB / 0.9363 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2576, allocations: 0 / 0.9363 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2576, allocations: 7.984 kB / 0.9363 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.2588, allocations: 1.741 MB / 0.938 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2588, allocations: 0 / 0.938 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.259, allocations: 67.88 kB / 0.938 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.2591, allocations: 47.66 kB / 0.9381 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.2591, allocations: 8 kB / 0.9381 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2591, allocations: 4 kB / 0.9381 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2591, allocations: 0 / 0.9381 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2591, allocations: 4 kB / 0.9381 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.2595, allocations: 436.4 kB / 0.9385 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.2595, allocations: 4 kB / 0.9385 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.2596, allocations: 11.98 kB / 0.9385 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.2596, allocations: 19.97 kB / 0.9386 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.2596, allocations: 8 kB / 0.9386 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.548e-05/0.2596, allocations: 16.84 kB / 0.9386 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.2596, allocations: 4 kB / 0.9386 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004434/0.2641, allocations: 1.723 MB / 0.9403 GB, free: 11.93 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005612/0.2697, allocations: 2.383 MB / 0.9426 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003029/0.27, allocations: 217.2 kB / 0.9428 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.27, allocations: 4 kB / 0.9428 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.2701, allocations: 139.3 kB / 0.9429 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2705, allocations: 205.3 kB / 0.9431 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.2734, allocations: 0.5664 MB / 0.9437 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.2735, allocations: 98.83 kB / 0.9438 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003535/0.2739, allocations: 400.7 kB / 0.9442 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.2741, allocations: 149.2 kB / 0.9443 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of SimCode: time 1.473e-06/0.2741, allocations: 0 / 0.9443 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of Templates: time 0.05365/0.3277, allocations: 58.67 MB / 1.002 GB, free: 13.05 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.SteamProperties/Buildings_12_Buildings.Media.Examples.SteamProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.8707079300656915]