Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_11_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.00391/0.00391, allocations: 99.92 kB / 15.73 MB, free: 6.02 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.001088/0.001088, allocations: 187.7 kB / 16.67 MB, free: 5.934 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.361/2.361, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 67.88 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5723, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1289/0.7012, allocations: 135.5 MB / 1.352 GB, free: 9.945 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008064/0.7093, allocations: 7.931 MB / 1.36 GB, free: 1.988 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.7094, allocations: 0 / 1.36 GB, free: 1.988 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.7095, allocations: 19.84 kB / 1.36 GB, free: 1.969 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.7096, allocations: 19.84 kB / 1.36 GB, free: 1.949 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.7122, allocations: 1.46 MB / 1.362 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.7123, allocations: 71.66 kB / 1.362 GB, free: 432 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.09e-05/0.7123, allocations: 7.984 kB / 1.362 GB, free: 424 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.7125, allocations: 51.83 kB / 1.362 GB, free: 372 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.7125, allocations: 27.91 kB / 1.362 GB, free: 344 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.7126, allocations: 4 kB / 1.362 GB, free: 340 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.7163, allocations: 2.704 MB / 1.365 GB, free: 13.62 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.7164, allocations: 15.92 kB / 1.365 GB, free: 13.61 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.7164, allocations: 31.84 kB / 1.365 GB, free: 13.58 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.718, allocations: 1.381 MB / 1.366 GB, free: 12.2 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.718, allocations: 4 kB / 1.366 GB, free: 12.19 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.182e-06/0.718, allocations: 0 / 1.366 GB, free: 12.19 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.718, allocations: 0 / 1.366 GB, free: 12.19 MB / 1.092 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.0008317/0.7188, allocations: 0.4906 MB / 1.366 GB, free: 11.65 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.7189, allocations: 11.97 kB / 1.366 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.7189, allocations: 38.75 kB / 1.366 GB, free: 11.59 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.7192, allocations: 24.88 kB / 1.366 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.7194, allocations: 176.2 kB / 1.367 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.7194, allocations: 38.02 kB / 1.367 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.7194, allocations: 8 kB / 1.367 GB, free: 11.31 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.7198, allocations: 117.6 kB / 1.367 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.7198, allocations: 0 / 1.367 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.7198, allocations: 4 kB / 1.367 GB, free: 11.18 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.7198, allocations: 0 / 1.367 GB, free: 11.18 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.7201, allocations: 115.9 kB / 1.367 GB, free: 11.07 MB / 1.092 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.0004381/0.7205, allocations: 388.6 kB / 1.367 GB, free: 10.63 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.7208, allocations: 121.8 kB / 1.367 GB, free: 10.5 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.7208, allocations: 52.83 kB / 1.367 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.7315, allocations: 4.234 MB / 1.372 GB, free: 5.898 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.7316, allocations: 38.5 kB / 1.372 GB, free: 5.852 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.7316, allocations: 0 / 1.372 GB, free: 5.852 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.0004301/0.732, allocations: 169.5 kB / 1.372 GB, free: 5.68 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.7321, allocations: 51.41 kB / 1.372 GB, free: 5.617 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.7321, allocations: 109.8 kB / 1.372 GB, free: 5.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.7322, allocations: 25.7 kB / 1.372 GB, free: 5.469 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.7322, allocations: 84.14 kB / 1.372 GB, free: 5.383 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.7323, allocations: 47.59 kB / 1.372 GB, free: 5.336 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.7323, allocations: 29.7 kB / 1.372 GB, free: 5.301 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7324, allocations: 314.8 kB / 1.372 GB, free: 4.984 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.7325, allocations: 23.98 kB / 1.372 GB, free: 4.961 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.7325, allocations: 23.98 kB / 1.372 GB, free: 4.938 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.7327, allocations: 83.72 kB / 1.373 GB, free: 4.855 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.7327, allocations: 0 / 1.373 GB, free: 4.855 MB / 1.092 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001683/0.7328, allocations: 105.7 kB / 1.373 GB, free: 4.746 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7329, allocations: 4 kB / 1.373 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.7329, allocations: 0 / 1.373 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7329, allocations: 4 kB / 1.373 GB, free: 4.738 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.733, allocations: 27.98 kB / 1.373 GB, free: 4.711 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.733, allocations: 0 / 1.373 GB, free: 4.711 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.7331, allocations: 15.83 kB / 1.373 GB, free: 4.695 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.7331, allocations: 0 / 1.373 GB, free: 4.695 MB / 1.092 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.182e-05/0.7332, allocations: 121.8 kB / 1.373 GB, free: 4.566 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.7332, allocations: 11.94 kB / 1.373 GB, free: 4.555 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.7336, allocations: 372 kB / 1.373 GB, free: 4.188 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.7336, allocations: 3.984 kB / 1.373 GB, free: 4.184 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.7337, allocations: 0 / 1.373 GB, free: 4.184 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7337, allocations: 8.125 kB / 1.373 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.7339, allocations: 285.4 kB / 1.373 GB, free: 3.848 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.734, allocations: 0 / 1.373 GB, free: 3.848 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.734, allocations: 23.92 kB / 1.373 GB, free: 3.824 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.7341, allocations: 7.984 kB / 1.373 GB, free: 3.816 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.7341, allocations: 7.984 kB / 1.373 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7341, allocations: 0 / 1.373 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.7341, allocations: 0 / 1.373 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.7344, allocations: 331 kB / 1.374 GB, free: 3.469 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.7345, allocations: 108.9 kB / 1.374 GB, free: 3.344 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.7345, allocations: 0 / 1.374 GB, free: 3.344 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.7346, allocations: 11.94 kB / 1.374 GB, free: 3.332 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.7347, allocations: 15.92 kB / 1.374 GB, free: 3.316 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.7347, allocations: 7.938 kB / 1.374 GB, free: 3.309 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.7347, allocations: 83.27 kB / 1.374 GB, free: 3.227 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7347, allocations: 0 / 1.374 GB, free: 3.227 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006085/0.7354, allocations: 299.7 kB / 1.374 GB, free: 2.934 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.001562/0.7369, allocations: 1.142 MB / 1.375 GB, free: 1.762 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.7371, allocations: 127.9 kB / 1.376 GB, free: 1.637 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7371, allocations: 0 / 1.376 GB, free: 1.637 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.7373, allocations: 115.9 kB / 1.376 GB, free: 1.523 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.7375, allocations: 23.92 kB / 1.376 GB, free: 1.5 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.7383, allocations: 429.6 kB / 1.376 GB, free: 1.031 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.7386, allocations: 0.7211 MB / 1.377 GB, free: 292 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 9.345e-05/0.7387, allocations: 28.34 kB / 1.377 GB, free: 264 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.7388, allocations: 35.42 kB / 1.377 GB, free: 228 kB / 1.092 GB Notification: Performance of SimCode: time 2.365e-06/0.7388, allocations: 0 / 1.377 GB, free: 228 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.643/3.382, allocations: 11.64 MB / 1.388 GB, free: 4.68 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/21.08, allocations: 4.656 kB / 1.388 GB, free: 4.676 MB / 1.107 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches