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: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_10_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.008903/0.008903, allocations: 101.3 kB / 15.73 MB, free: 5.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.001899/0.001899, allocations: 186.3 kB / 16.67 MB, free: 5.422 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 14.97 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.446/2.446, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8273/0.8287, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1658/0.9945, allocations: 135.6 MB / 1.298 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01032/1.005, allocations: 7.912 MB / 1.306 GB, free: 3.781 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/1.005, allocations: 3.938 kB / 1.306 GB, free: 3.777 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002347/1.005, allocations: 35.81 kB / 1.306 GB, free: 3.742 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/1.005, allocations: 15.84 kB / 1.306 GB, free: 3.727 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004893/1.01, allocations: 1.467 MB / 1.308 GB, free: 2.262 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/1.01, allocations: 71.64 kB / 1.308 GB, free: 2.191 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/1.011, allocations: 8 kB / 1.308 GB, free: 2.184 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/1.011, allocations: 51.77 kB / 1.308 GB, free: 2.133 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/1.011, allocations: 27.91 kB / 1.308 GB, free: 2.105 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/1.011, allocations: 4 kB / 1.308 GB, free: 2.102 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005497/1.016, allocations: 2.704 MB / 1.311 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/1.016, allocations: 19.91 kB / 1.311 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/1.017, allocations: 27.86 kB / 1.311 GB, free: 15.35 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/1.019, allocations: 1.388 MB / 1.312 GB, free: 13.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.019, allocations: 0 / 1.312 GB, free: 13.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.225e-06/1.019, allocations: 0 / 1.312 GB, free: 13.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.019, allocations: 0 / 1.312 GB, free: 13.96 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.001245/1.021, allocations: 495.1 kB / 1.312 GB, free: 13.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.021, allocations: 8.922 kB / 1.312 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/1.021, allocations: 42.73 kB / 1.312 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/1.021, allocations: 20.83 kB / 1.312 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/1.021, allocations: 184.2 kB / 1.313 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/1.021, allocations: 38.02 kB / 1.313 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/1.021, allocations: 4 kB / 1.313 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/1.022, allocations: 124.8 kB / 1.313 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.022, allocations: 3.938 kB / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.022, allocations: 4 kB / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.022, allocations: 0 / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/1.022, allocations: 115.9 kB / 1.313 GB, free: 12.84 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.000574/1.023, allocations: 384 kB / 1.313 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/1.023, allocations: 122.6 kB / 1.313 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/1.023, allocations: 52.78 kB / 1.313 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.035, allocations: 4.222 MB / 1.318 GB, free: 7.676 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/1.035, allocations: 38.56 kB / 1.318 GB, free: 7.629 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/1.035, allocations: 0 / 1.318 GB, free: 7.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005792/1.035, allocations: 158.9 kB / 1.318 GB, free: 7.469 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.035, allocations: 63.41 kB / 1.318 GB, free: 7.395 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/1.035, allocations: 101.8 kB / 1.318 GB, free: 7.285 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.035, allocations: 29.7 kB / 1.318 GB, free: 7.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/1.035, allocations: 80.14 kB / 1.318 GB, free: 7.168 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/1.035, allocations: 51.42 kB / 1.318 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/1.036, allocations: 29.7 kB / 1.318 GB, free: 7.082 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.036, allocations: 314.8 kB / 1.318 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/1.036, allocations: 31.92 kB / 1.318 GB, free: 6.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/1.036, allocations: 23.98 kB / 1.318 GB, free: 6.711 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/1.036, allocations: 73.97 kB / 1.319 GB, free: 6.637 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.036, allocations: 4 kB / 1.319 GB, free: 6.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002121/1.036, allocations: 108 kB / 1.319 GB, free: 6.523 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.036, allocations: 7.938 kB / 1.319 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/1.036, allocations: 0 / 1.319 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.036, allocations: 0 / 1.319 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.036, allocations: 27.92 kB / 1.319 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.036, allocations: 0 / 1.319 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/1.036, allocations: 7.938 kB / 1.319 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/1.036, allocations: 8 kB / 1.319 GB, free: 6.473 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 7.859e-05/1.036, allocations: 117.8 kB / 1.319 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/1.037, allocations: 7.906 kB / 1.319 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/1.037, allocations: 360.1 kB / 1.319 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.037, allocations: 11.98 kB / 1.319 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.037, allocations: 0 / 1.319 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.037, allocations: 3.938 kB / 1.319 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/1.037, allocations: 281.3 kB / 1.319 GB, free: 5.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.037, allocations: 3.938 kB / 1.319 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/1.037, allocations: 27.98 kB / 1.319 GB, free: 5.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.037, allocations: 0 / 1.319 GB, free: 5.613 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/1.037, allocations: 4 kB / 1.319 GB, free: 5.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.037, allocations: 4 kB / 1.319 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.038, allocations: 3.984 kB / 1.319 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/1.038, allocations: 334.8 kB / 1.32 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/1.038, allocations: 96.94 kB / 1.32 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/1.038, allocations: 8 kB / 1.32 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/1.038, allocations: 7.984 kB / 1.32 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/1.038, allocations: 11.92 kB / 1.32 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/1.038, allocations: 8 kB / 1.32 GB, free: 5.109 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.012e-05/1.038, allocations: 83.27 kB / 1.32 GB, free: 5.027 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/1.038, allocations: 0 / 1.32 GB, free: 5.027 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008999/1.039, allocations: 303.9 kB / 1.32 GB, free: 4.73 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.002126/1.041, allocations: 1.146 MB / 1.321 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002524/1.042, allocations: 124 kB / 1.322 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.042, allocations: 0 / 1.322 GB, free: 3.434 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/1.042, allocations: 111.9 kB / 1.322 GB, free: 3.324 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/1.042, allocations: 19.92 kB / 1.322 GB, free: 3.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/1.043, allocations: 434 kB / 1.322 GB, free: 2.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/1.044, allocations: 0.7211 MB / 1.323 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001279/1.044, allocations: 32.33 kB / 1.323 GB, free: 2.062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/1.044, allocations: 35.42 kB / 1.323 GB, free: 2.027 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/1.044, allocations: 4 kB / 1.323 GB, free: 2.023 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/1.077, allocations: 11.62 MB / 1.334 GB, free: 6.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/9.189, allocations: 8.609 kB / 1.334 GB, free: 6.484 MB / 1.061 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > 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