Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 112 kB / 16.42 MB, free: 6.477 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.001719/0.00172, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.571/2.571, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.89 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6774, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1364/0.8138, allocations: 135.5 MB / 1.359 GB, free: 5.453 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008909/0.8227, allocations: 7.927 MB / 1.366 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.8228, allocations: 4 kB / 1.366 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.823, allocations: 27.83 kB / 1.366 GB, free: 13.47 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.8231, allocations: 23.84 kB / 1.366 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.8267, allocations: 1.457 MB / 1.368 GB, free: 11.99 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.8268, allocations: 75.64 kB / 1.368 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.8269, allocations: 0 / 1.368 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.827, allocations: 59.77 kB / 1.368 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 9.003e-05/0.8271, allocations: 31.84 kB / 1.368 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.8271, allocations: 4 kB / 1.368 GB, free: 11.82 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004596/0.8317, allocations: 2.7 MB / 1.371 GB, free: 9.121 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.8318, allocations: 7.984 kB / 1.371 GB, free: 9.113 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.8318, allocations: 43.84 kB / 1.371 GB, free: 9.07 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.8339, allocations: 1.377 MB / 1.372 GB, free: 7.691 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.8339, allocations: 0 / 1.372 GB, free: 7.691 MB / 1.092 GB Notification: Performance of FrontEnd: time 8.81e-07/0.8339, allocations: 0 / 1.372 GB, free: 7.691 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8339, allocations: 0 / 1.372 GB, free: 7.691 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001019/0.835, allocations: 0.4984 MB / 1.373 GB, free: 7.145 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.835, allocations: 11.97 kB / 1.373 GB, free: 7.133 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.8354, allocations: 24.88 kB / 1.373 GB, free: 7.109 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.8355, allocations: 164.4 kB / 1.373 GB, free: 6.91 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.8356, allocations: 38.25 kB / 1.373 GB, free: 6.867 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.8356, allocations: 7.938 kB / 1.373 GB, free: 6.859 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.836, allocations: 117.5 kB / 1.373 GB, free: 6.738 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.836, allocations: 0 / 1.373 GB, free: 6.738 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.836, allocations: 7.938 kB / 1.373 GB, free: 6.73 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.836, allocations: 4 kB / 1.373 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.8363, allocations: 119.8 kB / 1.373 GB, free: 6.609 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.8368, allocations: 384.1 kB / 1.373 GB, free: 6.172 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.8371, allocations: 122.6 kB / 1.374 GB, free: 6.043 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.8371, allocations: 48.84 kB / 1.374 GB, free: 5.992 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.8482, allocations: 4.23 MB / 1.378 GB, free: 1.445 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.8483, allocations: 38.48 kB / 1.378 GB, free: 1.398 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.8483, allocations: 0 / 1.378 GB, free: 1.398 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.0005046/0.8488, allocations: 169.6 kB / 1.378 GB, free: 1.227 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.8488, allocations: 55.41 kB / 1.378 GB, free: 1.16 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.8489, allocations: 101.8 kB / 1.378 GB, free: 1.051 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8489, allocations: 25.7 kB / 1.378 GB, free: 1.02 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.849, allocations: 92.12 kB / 1.378 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.849, allocations: 43.59 kB / 1.378 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.8491, allocations: 25.72 kB / 1.378 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.8492, allocations: 326.8 kB / 1.379 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.8492, allocations: 23.98 kB / 1.379 GB, free: 0.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.221e-05/0.8493, allocations: 39.42 kB / 1.379 GB, free: 476 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.8494, allocations: 60.86 kB / 1.379 GB, free: 412 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8494, allocations: 0 / 1.379 GB, free: 412 kB / 1.092 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001787/0.8496, allocations: 105.7 kB / 1.379 GB, free: 300 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.8496, allocations: 4 kB / 1.379 GB, free: 296 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.8496, allocations: 4 kB / 1.379 GB, free: 292 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8496, allocations: 3.984 kB / 1.379 GB, free: 288 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.8498, allocations: 23.94 kB / 1.379 GB, free: 264 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8498, allocations: 0 / 1.379 GB, free: 264 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.8498, allocations: 15.88 kB / 1.379 GB, free: 248 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.8499, allocations: 11.94 kB / 1.379 GB, free: 236 kB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 7.244e-05/0.8499, allocations: 114.4 kB / 1.379 GB, free: 112 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.85, allocations: 7.953 kB / 1.379 GB, free: 104 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.8505, allocations: 372.1 kB / 1.379 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8505, allocations: 0 / 1.379 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8505, allocations: 0 / 1.379 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.8506, allocations: 108.9 kB / 1.379 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.8506, allocations: 3.938 kB / 1.379 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.8507, allocations: 12 kB / 1.379 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.8508, allocations: 7.984 kB / 1.379 GB, free: 15.58 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003426/0.8511, allocations: 324.5 kB / 1.38 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003347/0.8515, allocations: 406.4 kB / 1.38 GB, free: 14.85 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001101/0.8516, allocations: 102.2 kB / 1.38 GB, free: 14.75 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.8516, allocations: 79.28 kB / 1.38 GB, free: 14.67 MB / 1.107 GB Notification: Performance of Backend: time 7.21e-07/0.8516, allocations: 0 / 1.38 GB, free: 14.67 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.8535, allocations: 0.515 MB / 1.381 GB, free: 14.15 MB / 1.107 GB Notification: Performance of SimCode: time 0.0005133/0.854, allocations: 0.6639 MB / 1.381 GB, free: 13.43 MB / 1.107 GB Notification: Performance of Templates: time 0.01591/0.8699, allocations: 11.81 MB / 1.393 GB, free: 1.609 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches