Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00805/0.00805, allocations: 104.3 kB / 15.74 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 192.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.88 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9376/0.9388, allocations: 159.1 MB / 1.221 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.164/1.103, allocations: 136.5 MB / 1.354 GB, free: 9.055 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02853/1.131, allocations: 22.73 MB / 1.376 GB, free: 2.246 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/1.132, allocations: 0 / 1.376 GB, free: 2.246 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003596/1.132, allocations: 51.67 kB / 1.376 GB, free: 2.195 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/1.132, allocations: 95.36 kB / 1.376 GB, free: 2.102 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.02026/1.153, allocations: 6.965 MB / 1.383 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004401/1.153, allocations: 247.9 kB / 1.383 GB, free: 10.91 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/1.153, allocations: 5.562 kB / 1.383 GB, free: 10.91 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/1.153, allocations: 151.4 kB / 1.383 GB, free: 10.76 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/1.154, allocations: 91.66 kB / 1.384 GB, free: 10.67 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/1.154, allocations: 8 kB / 1.384 GB, free: 10.66 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02206/1.176, allocations: 11.64 MB / 1.395 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/1.176, allocations: 31.91 kB / 1.395 GB, free: 14.98 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/1.176, allocations: 83.64 kB / 1.395 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/1.193, allocations: 6.489 MB / 1.401 GB, free: 8.391 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.193, allocations: 3.938 kB / 1.401 GB, free: 8.387 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/1.193, allocations: 0 / 1.401 GB, free: 8.387 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.193, allocations: 0 / 1.401 GB, free: 8.387 MB / 1.123 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.004114/1.197, allocations: 1.25 MB / 1.403 GB, free: 7.082 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.197, allocations: 8.625 kB / 1.403 GB, free: 7.074 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/1.198, allocations: 84.77 kB / 1.403 GB, free: 6.992 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/1.199, allocations: 228.1 kB / 1.403 GB, free: 6.73 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/1.199, allocations: 20.06 kB / 1.403 GB, free: 6.711 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/1.199, allocations: 16 kB / 1.403 GB, free: 6.695 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.2, allocations: 456.5 kB / 1.403 GB, free: 6.23 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.2, allocations: 0 / 1.403 GB, free: 6.23 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/1.2, allocations: 4 kB / 1.403 GB, free: 6.227 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.2, allocations: 4 kB / 1.403 GB, free: 6.223 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/1.201, allocations: 0.601 MB / 1.404 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/1.202, allocations: 0.8862 MB / 1.405 GB, free: 4.648 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/1.203, allocations: 234.3 kB / 1.405 GB, free: 4.41 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/1.203, allocations: 64.84 kB / 1.405 GB, free: 4.344 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08742/1.291, allocations: 35.42 MB / 1.44 GB, free: 13.82 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.291, allocations: 42.56 kB / 1.44 GB, free: 13.77 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/1.291, allocations: 0 / 1.44 GB, free: 13.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.001984/1.293, allocations: 425.3 kB / 1.44 GB, free: 13.35 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/1.293, allocations: 55.41 kB / 1.44 GB, free: 13.29 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/1.293, allocations: 136 kB / 1.44 GB, free: 13.14 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/1.293, allocations: 29.7 kB / 1.44 GB, free: 13.11 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/1.293, allocations: 116.5 kB / 1.44 GB, free: 12.99 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/1.293, allocations: 87.22 kB / 1.441 GB, free: 12.91 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.293, allocations: 77.67 kB / 1.441 GB, free: 12.82 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.293, allocations: 330.8 kB / 1.441 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/1.293, allocations: 79.95 kB / 1.441 GB, free: 12.41 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/1.294, allocations: 129.6 kB / 1.441 GB, free: 12.27 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/1.294, allocations: 223.4 kB / 1.441 GB, free: 12.04 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.294, allocations: 0 / 1.441 GB, free: 12.04 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007924/1.295, allocations: 300.8 kB / 1.442 GB, free: 11.74 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.295, allocations: 8.156 kB / 1.442 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.295, allocations: 4 kB / 1.442 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.295, allocations: 3.938 kB / 1.442 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/1.295, allocations: 75.94 kB / 1.442 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/1.295, allocations: 7.938 kB / 1.442 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/1.295, allocations: 27.78 kB / 1.442 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/1.296, allocations: 27.97 kB / 1.442 GB, free: 11.59 MB / 1.17 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 0.0001329/1.296, allocations: 122.4 kB / 1.442 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.296, allocations: 23.78 kB / 1.442 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/1.298, allocations: 2.338 MB / 1.444 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.298, allocations: 11.98 kB / 1.444 GB, free: 9.07 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.298, allocations: 0 / 1.444 GB, free: 9.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.298, allocations: 7.922 kB / 1.444 GB, free: 9.062 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/1.302, allocations: 3.431 MB / 1.448 GB, free: 5.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.302, allocations: 0 / 1.448 GB, free: 5.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/1.302, allocations: 51.95 kB / 1.448 GB, free: 5.469 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.302, allocations: 7.938 kB / 1.448 GB, free: 5.461 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/1.302, allocations: 11.94 kB / 1.448 GB, free: 5.449 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.302, allocations: 4 kB / 1.448 GB, free: 5.445 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.302, allocations: 0 / 1.448 GB, free: 5.445 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/1.303, allocations: 0.5428 MB / 1.448 GB, free: 4.887 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/1.303, allocations: 144.7 kB / 1.448 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/1.303, allocations: 15.88 kB / 1.448 GB, free: 4.711 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/1.303, allocations: 12 kB / 1.448 GB, free: 4.699 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/1.303, allocations: 19.97 kB / 1.448 GB, free: 4.68 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/1.303, allocations: 16 kB / 1.448 GB, free: 4.664 MB / 1.17 GB Notification: Performance of sorting global known variables: time 7.883e-05/1.303, allocations: 109.3 kB / 1.448 GB, free: 4.559 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.303, allocations: 3.938 kB / 1.448 GB, free: 4.555 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004531/1.308, allocations: 1.707 MB / 1.45 GB, free: 2.844 MB / 1.17 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.009121/1.317, allocations: 1.947 MB / 1.452 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007725/1.318, allocations: 312.3 kB / 1.452 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.318, allocations: 0 / 1.452 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/1.318, allocations: 192.5 kB / 1.453 GB, free: 400 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/1.319, allocations: 56.27 kB / 1.453 GB, free: 344 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.32, allocations: 0.6429 MB / 1.453 GB, free: 15.67 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/1.32, allocations: 0.7738 MB / 1.454 GB, free: 14.87 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005573/1.321, allocations: 413 kB / 1.454 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.321, allocations: 43.41 kB / 1.454 GB, free: 14.42 MB / 1.186 GB Notification: Performance of SimCode: time 6.32e-07/1.321, allocations: 0 / 1.454 GB, free: 14.42 MB / 1.186 GB Notification: Performance of Templates: time 0.07942/1.4, allocations: 59.44 MB / 1.512 GB, free: 2.934 MB / 1.232 GB make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches