Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009572/0.009571, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002009/0.00201, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.804/2.804, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.12 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3531, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.9681/1.321, allocations: 136.1 MB / 1.341 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.034/1.355, allocations: 22.67 MB / 1.363 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/1.356, allocations: 1.312 kB / 1.363 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004737/1.356, allocations: 44.72 kB / 1.363 GB, free: 8.305 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006535/1.357, allocations: 96.75 kB / 1.363 GB, free: 8.242 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.02694/1.384, allocations: 6.932 MB / 1.37 GB, free: 4.203 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008076/1.385, allocations: 257.4 kB / 1.37 GB, free: 4.059 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/1.385, allocations: 11.86 kB / 1.37 GB, free: 4.055 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006557/1.386, allocations: 138.9 kB / 1.37 GB, free: 3.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/1.386, allocations: 88.52 kB / 1.37 GB, free: 3.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/1.386, allocations: 8.531 kB / 1.37 GB, free: 3.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03002/1.416, allocations: 11.64 MB / 1.382 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/1.416, allocations: 45.44 kB / 1.382 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/1.416, allocations: 76.8 kB / 1.382 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01939/1.436, allocations: 6.479 MB / 1.388 GB, free: 9.605 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.436, allocations: 4 kB / 1.388 GB, free: 9.602 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.263e-06/1.436, allocations: 1.594 kB / 1.388 GB, free: 9.602 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.178e-05/1.436, allocations: 0 / 1.388 GB, free: 9.602 MB / 1.076 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.004781/1.441, allocations: 1.195 MB / 1.389 GB, free: 8.727 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.441, allocations: 9.344 kB / 1.389 GB, free: 8.727 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/1.442, allocations: 88.88 kB / 1.389 GB, free: 8.688 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/1.443, allocations: 227.6 kB / 1.389 GB, free: 8.441 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.443, allocations: 15.59 kB / 1.389 GB, free: 8.434 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/1.443, allocations: 17.53 kB / 1.39 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.444, allocations: 460 kB / 1.39 GB, free: 8.133 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.444, allocations: 0 / 1.39 GB, free: 8.133 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/1.444, allocations: 7.219 kB / 1.39 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.444, allocations: 4.812 kB / 1.39 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/1.445, allocations: 0.6002 MB / 1.391 GB, free: 7.836 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.446, allocations: 0.8831 MB / 1.391 GB, free: 6.977 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/1.447, allocations: 251.4 kB / 1.392 GB, free: 6.844 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/1.447, allocations: 78.2 kB / 1.392 GB, free: 6.801 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09519/1.542, allocations: 35.42 MB / 1.426 GB, free: 3.68 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/1.542, allocations: 36.22 kB / 1.426 GB, free: 3.637 MB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/1.543, allocations: 0 / 1.426 GB, free: 3.637 MB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.001842/1.544, allocations: 421 kB / 1.427 GB, free: 3.219 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.544, allocations: 55.41 kB / 1.427 GB, free: 3.152 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/1.545, allocations: 139.2 kB / 1.427 GB, free: 3.008 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/1.545, allocations: 29.7 kB / 1.427 GB, free: 2.973 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/1.545, allocations: 112.3 kB / 1.427 GB, free: 2.859 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/1.545, allocations: 86.75 kB / 1.427 GB, free: 2.773 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/1.545, allocations: 77.66 kB / 1.427 GB, free: 2.691 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.545, allocations: 330.7 kB / 1.428 GB, free: 2.359 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/1.545, allocations: 79.95 kB / 1.428 GB, free: 2.281 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/1.546, allocations: 130.8 kB / 1.428 GB, free: 2.137 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/1.546, allocations: 215.2 kB / 1.428 GB, free: 1.91 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.546, allocations: 11.94 kB / 1.428 GB, free: 1.898 MB / 1.107 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007935/1.547, allocations: 301.1 kB / 1.428 GB, free: 1.598 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.547, allocations: 4 kB / 1.428 GB, free: 1.594 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.547, allocations: 4 kB / 1.428 GB, free: 1.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.547, allocations: 3.984 kB / 1.428 GB, free: 1.586 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/1.547, allocations: 76.95 kB / 1.428 GB, free: 1.512 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.547, allocations: 7.984 kB / 1.428 GB, free: 1.504 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/1.548, allocations: 15.84 kB / 1.428 GB, free: 1.488 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/1.548, allocations: 36.08 kB / 1.428 GB, free: 1.453 MB / 1.107 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.000147/1.548, allocations: 125.8 kB / 1.428 GB, free: 1.32 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/1.548, allocations: 15.81 kB / 1.429 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/1.551, allocations: 2.346 MB / 1.431 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.551, allocations: 11.98 kB / 1.431 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.551, allocations: 0 / 1.431 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.551, allocations: 3.984 kB / 1.431 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/1.554, allocations: 3.428 MB / 1.434 GB, free: 11.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/1.554, allocations: 4 kB / 1.434 GB, free: 11.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/1.555, allocations: 51.95 kB / 1.434 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.555, allocations: 4 kB / 1.434 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/1.555, allocations: 11.92 kB / 1.434 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/1.555, allocations: 8.938 kB / 1.434 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.555, allocations: 0 / 1.434 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/1.556, allocations: 0.5426 MB / 1.435 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/1.556, allocations: 144.6 kB / 1.435 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/1.556, allocations: 7.938 kB / 1.435 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/1.556, allocations: 11.98 kB / 1.435 GB, free: 10.57 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/1.556, allocations: 19.98 kB / 1.435 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/1.556, allocations: 15.98 kB / 1.435 GB, free: 10.54 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002388/1.557, allocations: 105 kB / 1.435 GB, free: 10.44 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.557, allocations: 0 / 1.435 GB, free: 10.44 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.007374/1.564, allocations: 1.691 MB / 1.437 GB, free: 8.746 MB / 1.123 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.01214/1.576, allocations: 1.932 MB / 1.439 GB, free: 6.809 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009141/1.577, allocations: 320.4 kB / 1.439 GB, free: 6.496 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/1.577, allocations: 8 kB / 1.439 GB, free: 6.488 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/1.578, allocations: 240.5 kB / 1.439 GB, free: 6.254 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/1.578, allocations: 73.19 kB / 1.439 GB, free: 6.184 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/1.58, allocations: 0.6304 MB / 1.44 GB, free: 5.523 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/1.58, allocations: 0.7661 MB / 1.441 GB, free: 4.73 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005909/1.581, allocations: 405 kB / 1.441 GB, free: 4.332 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/1.581, allocations: 47.42 kB / 1.441 GB, free: 4.285 MB / 1.123 GB Notification: Performance of SimCode: time 1.793e-06/1.581, allocations: 3.938 kB / 1.441 GB, free: 4.281 MB / 1.123 GB Notification: Performance of Templates: time 0.09361/1.675, allocations: 59.52 MB / 1.499 GB, free: 8.723 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches