Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001103/0.001103, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001251/0.001251, allocations: 183 kB / 17.34 MB, free: 5.766 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8363/0.8377, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1426/0.9803, allocations: 135.6 MB / 1.3 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008409/0.9888, allocations: 7.919 MB / 1.307 GB, free: 3.828 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.9889, allocations: 4 kB / 1.307 GB, free: 3.824 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.989, allocations: 23.89 kB / 1.307 GB, free: 3.801 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.9891, allocations: 19.86 kB / 1.307 GB, free: 3.781 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.9926, allocations: 1.468 MB / 1.309 GB, free: 2.316 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.9927, allocations: 75.59 kB / 1.309 GB, free: 2.242 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.9928, allocations: 4 kB / 1.309 GB, free: 2.238 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.9929, allocations: 47.83 kB / 1.309 GB, free: 2.191 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.993, allocations: 35.83 kB / 1.309 GB, free: 2.156 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.993, allocations: 4 kB / 1.309 GB, free: 2.152 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.9972, allocations: 2.704 MB / 1.312 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.9972, allocations: 8 kB / 1.312 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.9973, allocations: 39.84 kB / 1.312 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.9989, allocations: 1.374 MB / 1.313 GB, free: 14.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.999, allocations: 0 / 1.313 GB, free: 14.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.303e-06/0.999, allocations: 0 / 1.313 GB, free: 14.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.999, allocations: 0 / 1.313 GB, free: 14.02 MB / 1.045 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.0009199/0.9999, allocations: 0.4952 MB / 1.314 GB, free: 13.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.9999, allocations: 16.92 kB / 1.314 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/1, allocations: 20.83 kB / 1.314 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1, allocations: 172.3 kB / 1.314 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/1.001, allocations: 30.27 kB / 1.314 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/1.001, allocations: 11.94 kB / 1.314 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/1.001, allocations: 121.5 kB / 1.314 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.001, allocations: 0 / 1.314 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/1.001, allocations: 8 kB / 1.314 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.001, allocations: 0 / 1.314 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/1.001, allocations: 115.9 kB / 1.314 GB, free: 12.95 MB / 1.045 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.0004692/1.002, allocations: 380 kB / 1.314 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/1.002, allocations: 126.6 kB / 1.314 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/1.002, allocations: 48.84 kB / 1.315 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/1.013, allocations: 4.23 MB / 1.319 GB, free: 7.781 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/1.013, allocations: 30.56 kB / 1.319 GB, free: 7.742 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/1.013, allocations: 0 / 1.319 GB, free: 7.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0004984/1.014, allocations: 170.8 kB / 1.319 GB, free: 7.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.014, allocations: 59.34 kB / 1.319 GB, free: 7.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/1.014, allocations: 101.8 kB / 1.319 GB, free: 7.391 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/1.014, allocations: 25.7 kB / 1.319 GB, free: 7.359 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/1.014, allocations: 80.14 kB / 1.319 GB, free: 7.277 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/1.014, allocations: 55.38 kB / 1.319 GB, free: 7.223 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/1.014, allocations: 29.7 kB / 1.319 GB, free: 7.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.014, allocations: 314.8 kB / 1.319 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/1.014, allocations: 31.92 kB / 1.32 GB, free: 6.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/1.015, allocations: 29.36 kB / 1.32 GB, free: 6.812 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/1.015, allocations: 70.09 kB / 1.32 GB, free: 6.742 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.015, allocations: 0 / 1.32 GB, free: 6.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000176/1.015, allocations: 109.6 kB / 1.32 GB, free: 6.629 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.015, allocations: 7.938 kB / 1.32 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.015, allocations: 0 / 1.32 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.015, allocations: 0 / 1.32 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/1.015, allocations: 27.98 kB / 1.32 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.015, allocations: 0 / 1.32 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/1.015, allocations: 7.938 kB / 1.32 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/1.015, allocations: 4 kB / 1.32 GB, free: 6.582 MB / 1.045 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.557e-05/1.015, allocations: 117.8 kB / 1.32 GB, free: 6.457 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/1.015, allocations: 3.906 kB / 1.32 GB, free: 6.453 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/1.016, allocations: 364.2 kB / 1.32 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.016, allocations: 11.97 kB / 1.32 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.016, allocations: 0 / 1.32 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.016, allocations: 3.938 kB / 1.32 GB, free: 6.078 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/1.016, allocations: 289.3 kB / 1.321 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.016, allocations: 0 / 1.321 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/1.016, allocations: 23.98 kB / 1.321 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.016, allocations: 0 / 1.321 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.016, allocations: 4 kB / 1.321 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.016, allocations: 3.984 kB / 1.321 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.016, allocations: 8 kB / 1.321 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/1.017, allocations: 326.9 kB / 1.321 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/1.017, allocations: 108.8 kB / 1.321 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/1.017, allocations: 3.984 kB / 1.321 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.017, allocations: 8 kB / 1.321 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/1.017, allocations: 7.984 kB / 1.321 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.017, allocations: 7.938 kB / 1.321 GB, free: 5.219 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.471e-05/1.017, allocations: 87.27 kB / 1.321 GB, free: 5.133 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.017, allocations: 0 / 1.321 GB, free: 5.133 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008169/1.018, allocations: 295.9 kB / 1.321 GB, free: 4.844 MB / 1.045 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.00116/1.019, allocations: 400.1 kB / 1.322 GB, free: 4.441 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002107/1.019, allocations: 135.9 kB / 1.322 GB, free: 4.309 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.019, allocations: 0 / 1.322 GB, free: 4.309 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/1.019, allocations: 110.2 kB / 1.322 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/1.02, allocations: 15.98 kB / 1.322 GB, free: 4.188 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/1.02, allocations: 338.1 kB / 1.322 GB, free: 3.824 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/1.02, allocations: 0.7172 MB / 1.323 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/1.02, allocations: 19.42 kB / 1.323 GB, free: 3.062 MB / 1.045 GB Notification: Performance of SimCode: time 2.6e-07/1.02, allocations: 3.938 kB / 1.323 GB, free: 3.059 MB / 1.045 GB Notification: Performance of Templates: time 0.009497/1.03, allocations: 6.749 MB / 1.33 GB, free: 12.3 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches