Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_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.0009218/0.0009218, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00624/0.00624, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6679/0.6682, allocations: 142.4 MB / 0.9552 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1164/0.7846, allocations: 131.8 MB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008425/0.7931, allocations: 8.394 MB / 1.092 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.7932, allocations: 7.938 kB / 1.092 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.7933, allocations: 15.91 kB / 1.092 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.7934, allocations: 15.89 kB / 1.092 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.796, allocations: 1.154 MB / 1.093 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.934e-05/0.7961, allocations: 79.59 kB / 1.093 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 2.924e-05/0.7961, allocations: 4 kB / 1.093 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.7963, allocations: 43.84 kB / 1.093 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.7963, allocations: 31.89 kB / 1.093 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.7964, allocations: 4 kB / 1.093 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.8001, allocations: 2.657 MB / 1.096 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.8001, allocations: 19.91 kB / 1.096 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.8001, allocations: 57.5 kB / 1.096 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.8019, allocations: 1.372 MB / 1.097 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.8019, allocations: 3.938 kB / 1.097 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8019, allocations: 0 / 1.097 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.8019, allocations: 4 kB / 1.097 GB, free: 13.34 MB / 0.8575 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.0008487/0.8028, allocations: 483.2 kB / 1.098 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.8028, allocations: 12.03 kB / 1.098 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.8029, allocations: 38.73 kB / 1.098 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.8032, allocations: 20.92 kB / 1.098 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.8033, allocations: 176.2 kB / 1.098 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.8033, allocations: 34.02 kB / 1.098 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.8033, allocations: 12 kB / 1.098 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.8036, allocations: 119.9 kB / 1.098 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-06/0.8037, allocations: 0 / 1.098 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.8037, allocations: 15.97 kB / 1.098 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.8037, allocations: 4 kB / 1.098 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.8039, allocations: 111.9 kB / 1.098 GB, free: 12.23 MB / 0.8575 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.0003487/0.8043, allocations: 372.1 kB / 1.099 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.8045, allocations: 138.5 kB / 1.099 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.8046, allocations: 49.97 kB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/0.8148, allocations: 4.249 MB / 1.103 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.8148, allocations: 34.56 kB / 1.103 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.8149, allocations: 0 / 1.103 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0003835/0.8152, allocations: 158.9 kB / 1.103 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.8153, allocations: 55.41 kB / 1.103 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.953e-05/0.8153, allocations: 109.8 kB / 1.103 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.8154, allocations: 25.7 kB / 1.103 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.8154, allocations: 95.98 kB / 1.103 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.8154, allocations: 39.58 kB / 1.104 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.8155, allocations: 21.7 kB / 1.104 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.8155, allocations: 310.8 kB / 1.104 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.8156, allocations: 23.98 kB / 1.104 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.8156, allocations: 27.98 kB / 1.104 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.8157, allocations: 76.59 kB / 1.104 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.8157, allocations: 0 / 1.104 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000155/0.8159, allocations: 113.6 kB / 1.104 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.8159, allocations: 7.938 kB / 1.104 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.8159, allocations: 0 / 1.104 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.8159, allocations: 0 / 1.104 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.816, allocations: 23.92 kB / 1.104 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.816, allocations: 4 kB / 1.104 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.8161, allocations: 11.78 kB / 1.104 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.8161, allocations: 11.94 kB / 1.104 GB, free: 5.852 MB / 0.8575 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 6.189e-05/0.8162, allocations: 117.8 kB / 1.104 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.8162, allocations: 0 / 1.104 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.8166, allocations: 372 kB / 1.105 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.8166, allocations: 11.98 kB / 1.105 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8166, allocations: 4 kB / 1.105 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8166, allocations: 3.938 kB / 1.105 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.8169, allocations: 281.3 kB / 1.105 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8169, allocations: 0 / 1.105 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.817, allocations: 23.98 kB / 1.105 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.817, allocations: 0 / 1.105 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.817, allocations: 4 kB / 1.105 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.817, allocations: 0 / 1.105 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.817, allocations: 4 kB / 1.105 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.8173, allocations: 334.8 kB / 1.105 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.8173, allocations: 100.9 kB / 1.105 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.8174, allocations: 0 / 1.105 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8175, allocations: 11.98 kB / 1.105 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.8175, allocations: 15.92 kB / 1.105 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.8175, allocations: 8 kB / 1.105 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.91e-05/0.8176, allocations: 87.44 kB / 1.105 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8176, allocations: 0 / 1.105 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006465/0.8182, allocations: 303.8 kB / 1.106 GB, free: 4.098 MB / 0.8575 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.001417/0.8197, allocations: 1.145 MB / 1.107 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.8198, allocations: 127.9 kB / 1.107 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8198, allocations: 0 / 1.107 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.8199, allocations: 107.9 kB / 1.107 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.8202, allocations: 27.92 kB / 1.107 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/0.8209, allocations: 0.4935 MB / 1.108 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.8211, allocations: 0.713 MB / 1.108 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.47e-05/0.8212, allocations: 32.28 kB / 1.108 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.8213, allocations: 43.42 kB / 1.108 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8213, allocations: 0 / 1.108 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.245/5.066, allocations: 11.36 MB / 1.119 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/5.066, allocations: 213.9 kB / 1.12 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/7.472, allocations: 0 / 1.12 GB, free: 5.82 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches