Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_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_9_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.001566/0.001566, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001719, allocations: 189.8 kB / 17.2 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.88 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2881, allocations: 140.4 MB / 0.9503 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1505/0.4387, allocations: 135.6 MB / 1.083 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.541/0.9798, allocations: 7.916 MB / 1.09 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.9799, allocations: 3.078 kB / 1.09 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.9801, allocations: 27.31 kB / 1.09 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.9803, allocations: 19.47 kB / 1.09 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.986, allocations: 1.459 MB / 1.092 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.9862, allocations: 73.73 kB / 1.092 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.9862, allocations: 4.766 kB / 1.092 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.9864, allocations: 48.8 kB / 1.092 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.9865, allocations: 34.09 kB / 1.092 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.9865, allocations: 2.969 kB / 1.092 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006087/0.9926, allocations: 2.651 MB / 1.095 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.9926, allocations: 15.39 kB / 1.095 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.9927, allocations: 29.64 kB / 1.095 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.996, allocations: 1.378 MB / 1.096 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.996, allocations: 0.5312 kB / 1.096 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/0.996, allocations: 0.625 kB / 1.096 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.996, allocations: 1.938 kB / 1.096 GB, free: 6.871 MB / 0.8575 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.001627/0.9977, allocations: 0.4892 MB / 1.096 GB, free: 22.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.9977, allocations: 9.812 kB / 1.096 GB, free: 22.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.9981, allocations: 28.92 kB / 1.097 GB, free: 22.46 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.9983, allocations: 173.1 kB / 1.097 GB, free: 22.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.242e-05/0.9984, allocations: 31.84 kB / 1.097 GB, free: 22.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.9984, allocations: 8.469 kB / 1.097 GB, free: 22.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.9988, allocations: 121.8 kB / 1.097 GB, free: 22.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.9988, allocations: 4.281 kB / 1.097 GB, free: 22.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.9988, allocations: 0.9688 kB / 1.097 GB, free: 22.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.9989, allocations: 3.984 kB / 1.097 GB, free: 22.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.9992, allocations: 117 kB / 1.097 GB, free: 22.2 MB / 0.8731 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.0004908/0.9997, allocations: 378.6 kB / 1.097 GB, free: 21.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.9999, allocations: 131.8 kB / 1.097 GB, free: 21.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/1, allocations: 49.25 kB / 1.097 GB, free: 21.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/1.013, allocations: 4.206 MB / 1.102 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.013, allocations: 34.42 kB / 1.102 GB, free: 20.19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.245e-06/1.013, allocations: 0.9688 kB / 1.102 GB, free: 20.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0005939/1.014, allocations: 167.2 kB / 1.102 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.014, allocations: 54.53 kB / 1.102 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/1.014, allocations: 100.3 kB / 1.102 GB, free: 19.99 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/1.014, allocations: 31.05 kB / 1.102 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/1.014, allocations: 85.78 kB / 1.102 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/1.014, allocations: 46.45 kB / 1.102 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/1.014, allocations: 31.83 kB / 1.102 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.014, allocations: 320.2 kB / 1.102 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/1.015, allocations: 27.59 kB / 1.102 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/1.015, allocations: 26.19 kB / 1.102 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/1.015, allocations: 71.86 kB / 1.103 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.015, allocations: 5.656 kB / 1.103 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001828/1.015, allocations: 105.3 kB / 1.103 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.015, allocations: 6.375 kB / 1.103 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.015, allocations: 0 / 1.103 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.015, allocations: 2.062 kB / 1.103 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/1.015, allocations: 20.52 kB / 1.103 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.015, allocations: 4.531 kB / 1.103 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/1.015, allocations: 9.219 kB / 1.103 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/1.015, allocations: 4.625 kB / 1.103 GB, free: 19.46 MB / 0.8731 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.544e-05/1.015, allocations: 119.6 kB / 1.103 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/1.015, allocations: 5.891 kB / 1.103 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/1.016, allocations: 381 kB / 1.103 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.016, allocations: 9.906 kB / 1.103 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.016, allocations: 0.5625 kB / 1.103 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.016, allocations: 1.625 kB / 1.103 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/1.016, allocations: 283.3 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.016, allocations: 1.484 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/1.016, allocations: 20.06 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/1.016, allocations: 2.281 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.016, allocations: 2.172 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.016, allocations: 4.359 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.016, allocations: 0.7812 kB / 1.103 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/1.017, allocations: 339.1 kB / 1.104 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/1.017, allocations: 100.6 kB / 1.104 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/1.017, allocations: 6.188 kB / 1.104 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/1.017, allocations: 8.75 kB / 1.104 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/1.017, allocations: 9.859 kB / 1.104 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.017, allocations: 5.438 kB / 1.104 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.186e-05/1.017, allocations: 84.55 kB / 1.104 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 1.104 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001982/1.019, allocations: 302.9 kB / 1.104 GB, free: 18.71 MB / 0.8731 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.00139/1.02, allocations: 414.2 kB / 1.105 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002871/1.021, allocations: 130 kB / 1.105 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.021, allocations: 0.875 kB / 1.105 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/1.021, allocations: 111.4 kB / 1.105 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/1.021, allocations: 21.08 kB / 1.105 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/1.022, allocations: 332.7 kB / 1.105 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/1.022, allocations: 0.7169 MB / 1.106 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/1.022, allocations: 18.42 kB / 1.106 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/1.022, allocations: 0 / 1.106 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.01559/1.038, allocations: 6.759 MB / 1.113 GB, free: 17.23 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches