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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001132/0.001132, allocations: 117 kB / 16.37 MB, free: 6.012 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.001963/0.001963, allocations: 188.9 kB / 17.3 MB, free: 5.613 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 62.47 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3455, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.8399/1.185, allocations: 135.6 MB / 1.159 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01113/1.197, allocations: 7.91 MB / 1.167 GB, free: 40 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/1.197, allocations: 1.156 kB / 1.167 GB, free: 40 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/1.197, allocations: 27.64 kB / 1.167 GB, free: 24 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/1.197, allocations: 16.05 kB / 1.167 GB, free: 12 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0055/1.203, allocations: 1.47 MB / 1.168 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000206/1.203, allocations: 72.66 kB / 1.168 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/1.203, allocations: 5.906 kB / 1.168 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/1.203, allocations: 37.78 kB / 1.168 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/1.203, allocations: 42.7 kB / 1.168 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/1.203, allocations: 3.688 kB / 1.168 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005712/1.209, allocations: 2.698 MB / 1.171 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/1.209, allocations: 16.52 kB / 1.171 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/1.209, allocations: 35.81 kB / 1.171 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/1.212, allocations: 1.376 MB / 1.172 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.212, allocations: 1.062 kB / 1.172 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.543e-06/1.212, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.047e-05/1.212, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.8887 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.001051/1.213, allocations: 0.4934 MB / 1.173 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.213, allocations: 9.281 kB / 1.173 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/1.213, allocations: 31 kB / 1.173 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/1.213, allocations: 173.4 kB / 1.173 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/1.213, allocations: 35.17 kB / 1.173 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/1.214, allocations: 7.562 kB / 1.173 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/1.214, allocations: 120.5 kB / 1.173 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.214, allocations: 3.984 kB / 1.173 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/1.214, allocations: 1.188 kB / 1.173 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/1.214, allocations: 2.125 kB / 1.173 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/1.214, allocations: 120.1 kB / 1.173 GB, free: 12.54 MB / 0.8887 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.0005097/1.215, allocations: 381 kB / 1.174 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/1.215, allocations: 123.4 kB / 1.174 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/1.215, allocations: 49.81 kB / 1.174 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/1.227, allocations: 4.231 MB / 1.178 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/1.227, allocations: 39.69 kB / 1.178 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/1.227, allocations: 0 / 1.178 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0006092/1.228, allocations: 163.8 kB / 1.178 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.228, allocations: 56.84 kB / 1.178 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/1.228, allocations: 97.91 kB / 1.178 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/1.228, allocations: 30.95 kB / 1.178 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/1.228, allocations: 81.55 kB / 1.179 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/1.228, allocations: 44.81 kB / 1.179 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/1.228, allocations: 30.33 kB / 1.179 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.228, allocations: 319.8 kB / 1.179 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/1.228, allocations: 35.8 kB / 1.179 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/1.228, allocations: 30.92 kB / 1.179 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/1.229, allocations: 69.59 kB / 1.179 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.229, allocations: 0 / 1.179 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001856/1.229, allocations: 103.1 kB / 1.179 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.229, allocations: 5.906 kB / 1.179 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.229, allocations: 0 / 1.179 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.229, allocations: 0 / 1.179 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/1.229, allocations: 25.83 kB / 1.179 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.229, allocations: 0 / 1.179 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/1.229, allocations: 14.25 kB / 1.179 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.229, allocations: 6.188 kB / 1.179 GB, free: 8.332 MB / 0.8887 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.923e-05/1.229, allocations: 113.4 kB / 1.179 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/1.229, allocations: 7.375 kB / 1.179 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/1.23, allocations: 371.3 kB / 1.18 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.23, allocations: 10.3 kB / 1.18 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.23, allocations: 1 kB / 1.18 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.23, allocations: 0 / 1.18 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/1.23, allocations: 282.2 kB / 1.18 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.23, allocations: 4.188 kB / 1.18 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/1.23, allocations: 24.8 kB / 1.18 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/1.23, allocations: 1.094 kB / 1.18 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/1.23, allocations: 4.953 kB / 1.18 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.23, allocations: 1.75 kB / 1.18 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.23, allocations: 1.156 kB / 1.18 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/1.231, allocations: 345.8 kB / 1.18 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/1.231, allocations: 99.88 kB / 1.18 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/1.231, allocations: 9.094 kB / 1.18 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.231, allocations: 7.172 kB / 1.18 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/1.231, allocations: 8.328 kB / 1.18 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/1.231, allocations: 12.78 kB / 1.18 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.688e-05/1.231, allocations: 86.33 kB / 1.181 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.231, allocations: 0 / 1.181 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00134/1.232, allocations: 302.1 kB / 1.181 GB, free: 7.188 MB / 0.8887 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.001294/1.234, allocations: 386.6 kB / 1.181 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002247/1.234, allocations: 131.1 kB / 1.181 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.234, allocations: 4 kB / 1.181 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/1.234, allocations: 117.4 kB / 1.181 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/1.234, allocations: 15.19 kB / 1.181 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/1.235, allocations: 307.9 kB / 1.182 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/1.235, allocations: 0.7162 MB / 1.182 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000109/1.235, allocations: 28.59 kB / 1.182 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/1.235, allocations: 21.98 kB / 1.182 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/1.235, allocations: 0 / 1.182 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.01473/1.25, allocations: 9.777 MB / 1.192 GB, free: 0.7969 MB / 0.8887 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 -s cvode -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