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 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.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.007895/0.007895, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001658/0.001658, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.641/2.641, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.89 kB / 1.054 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9817/0.983, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1617/1.145, allocations: 135.6 MB / 1.34 GB, free: 5.586 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009616/1.154, allocations: 7.912 MB / 1.348 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/1.155, allocations: 0 / 1.348 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/1.155, allocations: 27.83 kB / 1.348 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/1.155, allocations: 15.8 kB / 1.348 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/1.159, allocations: 1.459 MB / 1.349 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000156/1.159, allocations: 71.66 kB / 1.349 GB, free: 12.08 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/1.159, allocations: 4 kB / 1.349 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/1.159, allocations: 47.83 kB / 1.349 GB, free: 12.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/1.159, allocations: 35.89 kB / 1.349 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/1.159, allocations: 4 kB / 1.349 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004736/1.164, allocations: 2.708 MB / 1.352 GB, free: 9.277 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/1.164, allocations: 11.94 kB / 1.352 GB, free: 9.266 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/1.164, allocations: 31.84 kB / 1.352 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/1.167, allocations: 1.374 MB / 1.353 GB, free: 7.859 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.167, allocations: 0 / 1.353 GB, free: 7.859 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.163e-06/1.167, allocations: 3.938 kB / 1.353 GB, free: 7.855 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.167, allocations: 3.938 kB / 1.353 GB, free: 7.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001243/1.168, allocations: 499.2 kB / 1.354 GB, free: 7.316 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.168, allocations: 12.03 kB / 1.354 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/1.169, allocations: 20.83 kB / 1.354 GB, free: 7.285 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/1.169, allocations: 180.2 kB / 1.354 GB, free: 7.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.422e-05/1.169, allocations: 30.27 kB / 1.354 GB, free: 7.035 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.169, allocations: 7.938 kB / 1.354 GB, free: 7.027 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/1.169, allocations: 133.5 kB / 1.354 GB, free: 6.891 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.169, allocations: 0 / 1.354 GB, free: 6.891 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.169, allocations: 0 / 1.354 GB, free: 6.891 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.169, allocations: 4 kB / 1.354 GB, free: 6.887 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/1.17, allocations: 115.9 kB / 1.354 GB, free: 6.773 MB / 1.076 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.0005368/1.17, allocations: 384 kB / 1.355 GB, free: 6.336 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/1.17, allocations: 118.6 kB / 1.355 GB, free: 6.211 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/1.171, allocations: 60.83 kB / 1.355 GB, free: 6.148 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/1.182, allocations: 4.226 MB / 1.359 GB, free: 1.605 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/1.182, allocations: 34.56 kB / 1.359 GB, free: 1.562 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/1.182, allocations: 0 / 1.359 GB, free: 1.562 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0005276/1.183, allocations: 169.5 kB / 1.359 GB, free: 1.391 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/1.183, allocations: 51.41 kB / 1.359 GB, free: 1.328 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/1.183, allocations: 101.8 kB / 1.359 GB, free: 1.219 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.183, allocations: 29.7 kB / 1.359 GB, free: 1.184 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/1.183, allocations: 80.14 kB / 1.36 GB, free: 1.102 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/1.183, allocations: 55.44 kB / 1.36 GB, free: 1.047 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/1.183, allocations: 25.7 kB / 1.36 GB, free: 1.016 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.183, allocations: 318.8 kB / 1.36 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/1.183, allocations: 23.98 kB / 1.36 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/1.183, allocations: 31.48 kB / 1.36 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/1.184, allocations: 72.78 kB / 1.36 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.184, allocations: 0 / 1.36 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002125/1.184, allocations: 109.6 kB / 1.36 GB, free: 468 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.184, allocations: 4 kB / 1.36 GB, free: 464 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/1.184, allocations: 4 kB / 1.36 GB, free: 460 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.184, allocations: 0 / 1.36 GB, free: 460 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/1.184, allocations: 23.92 kB / 1.36 GB, free: 436 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/1.184, allocations: 4 kB / 1.36 GB, free: 432 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/1.184, allocations: 7.938 kB / 1.36 GB, free: 424 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/1.184, allocations: 4 kB / 1.36 GB, free: 420 kB / 1.076 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 8.789e-05/1.184, allocations: 113.8 kB / 1.36 GB, free: 296 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/1.184, allocations: 7.906 kB / 1.36 GB, free: 288 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/1.185, allocations: 384 kB / 1.361 GB, free: 15.9 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.185, allocations: 7.984 kB / 1.361 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.185, allocations: 0 / 1.361 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.185, allocations: 3.938 kB / 1.361 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/1.185, allocations: 281.2 kB / 1.361 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.185, allocations: 0 / 1.361 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/1.185, allocations: 31.92 kB / 1.361 GB, free: 15.54 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/1.185, allocations: 0 / 1.361 GB, free: 15.54 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.185, allocations: 192 / 1.361 GB, free: 15.54 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.185, allocations: 3.984 kB / 1.361 GB, free: 15.53 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.185, allocations: 4 kB / 1.361 GB, free: 15.53 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/1.186, allocations: 335 kB / 1.361 GB, free: 15.18 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/1.186, allocations: 100.8 kB / 1.361 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.186, allocations: 7.984 kB / 1.361 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/1.186, allocations: 4 kB / 1.361 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/1.186, allocations: 15.92 kB / 1.361 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.186, allocations: 7.938 kB / 1.361 GB, free: 15.03 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.762e-05/1.186, allocations: 83.27 kB / 1.362 GB, free: 14.95 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.186, allocations: 4 kB / 1.362 GB, free: 14.95 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009217/1.187, allocations: 303.9 kB / 1.362 GB, free: 14.65 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001477/1.188, allocations: 390.9 kB / 1.362 GB, free: 14.25 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002373/1.189, allocations: 123.9 kB / 1.362 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.189, allocations: 0 / 1.362 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/1.189, allocations: 114.9 kB / 1.362 GB, free: 14.02 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/1.189, allocations: 19.92 kB / 1.362 GB, free: 14 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/1.19, allocations: 304.6 kB / 1.363 GB, free: 13.68 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/1.19, allocations: 0.7127 MB / 1.363 GB, free: 12.94 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001248/1.19, allocations: 32.34 kB / 1.363 GB, free: 12.91 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/1.19, allocations: 23.42 kB / 1.363 GB, free: 12.88 MB / 1.092 GB Notification: Performance of SimCode: time 3.81e-07/1.19, allocations: 0 / 1.363 GB, free: 12.88 MB / 1.092 GB Notification: Performance of Templates: time 0.017/1.207, allocations: 9.813 MB / 1.373 GB, free: 3.066 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches