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: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008944/0.008944, allocations: 103.2 kB / 15.73 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.002279/0.00228, allocations: 192.7 kB / 16.67 MB, free: 5.938 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.656/2.656, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 64.12 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.804/0.8056, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1592/0.9649, allocations: 135.5 MB / 1.34 GB, free: 5.477 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.9753, allocations: 7.919 MB / 1.347 GB, free: 13.53 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.148e-05/0.9755, allocations: 7.938 kB / 1.347 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.9757, allocations: 27.84 kB / 1.347 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/0.9759, allocations: 19.84 kB / 1.347 GB, free: 13.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004493/0.9804, allocations: 1.461 MB / 1.349 GB, free: 12.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.9806, allocations: 79.66 kB / 1.349 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.9806, allocations: 0 / 1.349 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.9808, allocations: 47.83 kB / 1.349 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.445e-05/0.9809, allocations: 27.91 kB / 1.349 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.9809, allocations: 4 kB / 1.349 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004968/0.9859, allocations: 2.712 MB / 1.352 GB, free: 9.141 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.9859, allocations: 11.92 kB / 1.352 GB, free: 9.129 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.986, allocations: 35.84 kB / 1.352 GB, free: 9.094 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.9886, allocations: 1.376 MB / 1.353 GB, free: 7.715 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9886, allocations: 0 / 1.353 GB, free: 7.715 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9886, allocations: 0 / 1.353 GB, free: 7.715 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.9886, allocations: 0 / 1.353 GB, free: 7.715 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.001288/0.9899, allocations: 495.2 kB / 1.353 GB, free: 7.184 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.99, allocations: 8.031 kB / 1.353 GB, free: 7.176 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.859e-05/0.99, allocations: 42.75 kB / 1.354 GB, free: 7.125 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.9905, allocations: 24.81 kB / 1.354 GB, free: 7.102 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.9907, allocations: 180.1 kB / 1.354 GB, free: 6.887 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.9908, allocations: 38.02 kB / 1.354 GB, free: 6.844 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.9908, allocations: 4 kB / 1.354 GB, free: 6.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.9912, allocations: 121.6 kB / 1.354 GB, free: 6.715 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9912, allocations: 0 / 1.354 GB, free: 6.715 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.9912, allocations: 0 / 1.354 GB, free: 6.715 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9913, allocations: 0 / 1.354 GB, free: 6.715 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.9916, allocations: 123.9 kB / 1.354 GB, free: 6.594 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.0005567/0.9921, allocations: 384 kB / 1.354 GB, free: 6.156 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.9924, allocations: 126.6 kB / 1.354 GB, free: 6.023 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.9925, allocations: 60.44 kB / 1.355 GB, free: 5.965 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/1.004, allocations: 4.218 MB / 1.359 GB, free: 1.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/1.004, allocations: 42.56 kB / 1.359 GB, free: 1.379 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/1.004, allocations: 4 kB / 1.359 GB, free: 1.375 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0005653/1.005, allocations: 157.6 kB / 1.359 GB, free: 1.215 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/1.005, allocations: 59.34 kB / 1.359 GB, free: 1.145 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/1.005, allocations: 101.8 kB / 1.359 GB, free: 1.035 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/1.005, allocations: 29.7 kB / 1.359 GB, free: 1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/1.005, allocations: 88.12 kB / 1.359 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/1.005, allocations: 43.44 kB / 1.359 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/1.005, allocations: 29.7 kB / 1.359 GB, free: 0.832 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.005, allocations: 318.8 kB / 1.36 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/1.005, allocations: 27.98 kB / 1.36 GB, free: 496 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/1.005, allocations: 23.98 kB / 1.36 GB, free: 472 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/1.005, allocations: 76.78 kB / 1.36 GB, free: 392 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.005, allocations: 0 / 1.36 GB, free: 392 kB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002115/1.006, allocations: 107.3 kB / 1.36 GB, free: 280 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.006, allocations: 7.938 kB / 1.36 GB, free: 272 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.006, allocations: 0 / 1.36 GB, free: 272 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.006, allocations: 4 kB / 1.36 GB, free: 268 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/1.006, allocations: 19.98 kB / 1.36 GB, free: 248 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.006, allocations: 4 kB / 1.36 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/1.006, allocations: 7.938 kB / 1.36 GB, free: 236 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/1.006, allocations: 4 kB / 1.36 GB, free: 232 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 0.0001202/1.006, allocations: 121.8 kB / 1.36 GB, free: 100 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/1.006, allocations: 8.094 kB / 1.36 GB, free: 92 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/1.007, allocations: 372 kB / 1.36 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/1.007, allocations: 3.984 kB / 1.36 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.007, allocations: 0 / 1.36 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.007, allocations: 7.938 kB / 1.36 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/1.007, allocations: 285.3 kB / 1.361 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.007, allocations: 3.984 kB / 1.361 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/1.007, allocations: 23.94 kB / 1.361 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.007, allocations: 0 / 1.361 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/1.007, allocations: 7.984 kB / 1.361 GB, free: 15.35 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.007, allocations: 0 / 1.361 GB, free: 15.35 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.007, allocations: 0 / 1.361 GB, free: 15.35 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/1.008, allocations: 334.9 kB / 1.361 GB, free: 15 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/1.008, allocations: 96.92 kB / 1.361 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/1.008, allocations: 8 kB / 1.361 GB, free: 14.88 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/1.008, allocations: 4 kB / 1.361 GB, free: 14.88 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/1.008, allocations: 23.86 kB / 1.361 GB, free: 14.86 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/1.008, allocations: 7.984 kB / 1.361 GB, free: 14.85 MB / 1.092 GB Notification: Performance of sorting global known variables: time 5.669e-05/1.008, allocations: 79.22 kB / 1.361 GB, free: 14.77 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.008, allocations: 0 / 1.361 GB, free: 14.77 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001101/1.009, allocations: 303.9 kB / 1.361 GB, free: 14.47 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.002109/1.011, allocations: 1.138 MB / 1.363 GB, free: 13.3 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002295/1.011, allocations: 127.9 kB / 1.363 GB, free: 13.18 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.011, allocations: 0 / 1.363 GB, free: 13.18 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/1.012, allocations: 111.9 kB / 1.363 GB, free: 13.07 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/1.012, allocations: 21.33 kB / 1.363 GB, free: 13.05 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/1.013, allocations: 430.1 kB / 1.363 GB, free: 12.59 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/1.014, allocations: 0.7127 MB / 1.364 GB, free: 11.85 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001317/1.014, allocations: 32.34 kB / 1.364 GB, free: 11.82 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/1.014, allocations: 39.36 kB / 1.364 GB, free: 11.78 MB / 1.092 GB Notification: Performance of SimCode: time 2e-07/1.014, allocations: 0 / 1.364 GB, free: 11.78 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/1.048, allocations: 11.62 MB / 1.375 GB, free: 260 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/9.183, allocations: 8.047 kB / 1.375 GB, free: 252 kB / 1.092 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > 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