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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 1.104 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9365/0.9385, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1944/1.133, allocations: 136 MB / 1.401 GB, free: 4.336 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01213/1.145, allocations: 7.953 MB / 1.409 GB, free: 14 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/1.145, allocations: 3.938 kB / 1.409 GB, free: 13.99 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/1.145, allocations: 25.38 kB / 1.409 GB, free: 13.97 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/1.145, allocations: 18.19 kB / 1.409 GB, free: 13.96 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005618/1.151, allocations: 1.475 MB / 1.411 GB, free: 12.92 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/1.151, allocations: 74.72 kB / 1.411 GB, free: 12.88 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/1.151, allocations: 2.25 kB / 1.411 GB, free: 12.88 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/1.151, allocations: 48.83 kB / 1.411 GB, free: 12.85 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/1.152, allocations: 36.36 kB / 1.411 GB, free: 12.83 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/1.152, allocations: 4 kB / 1.411 GB, free: 12.83 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/1.157, allocations: 2.707 MB / 1.414 GB, free: 11.42 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/1.157, allocations: 15.7 kB / 1.414 GB, free: 11.41 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/1.157, allocations: 28.95 kB / 1.414 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003902/1.161, allocations: 1.376 MB / 1.415 GB, free: 10.51 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/1.161, allocations: 4 kB / 1.415 GB, free: 10.51 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.947e-06/1.161, allocations: 1.438 kB / 1.415 GB, free: 10.51 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.679e-06/1.161, allocations: 0 / 1.415 GB, free: 10.51 MB / 1.107 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.001802/1.163, allocations: 0.4937 MB / 1.415 GB, free: 10.06 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.163, allocations: 9.469 kB / 1.415 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/1.163, allocations: 41.61 kB / 1.415 GB, free: 10.01 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/1.163, allocations: 26.69 kB / 1.415 GB, free: 10 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/1.163, allocations: 166.8 kB / 1.416 GB, free: 9.801 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.259e-05/1.164, allocations: 40.33 kB / 1.416 GB, free: 9.758 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/1.164, allocations: 9.391 kB / 1.416 GB, free: 9.754 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/1.164, allocations: 122.2 kB / 1.416 GB, free: 9.672 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.164, allocations: 1.125 kB / 1.416 GB, free: 9.672 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.164, allocations: 0 / 1.416 GB, free: 9.672 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.164, allocations: 2.094 kB / 1.416 GB, free: 9.672 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/1.164, allocations: 120.9 kB / 1.416 GB, free: 9.613 MB / 1.107 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.0005576/1.165, allocations: 380.8 kB / 1.416 GB, free: 9.215 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/1.165, allocations: 112.8 kB / 1.416 GB, free: 9.145 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/1.165, allocations: 46.41 kB / 1.416 GB, free: 9.117 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/1.177, allocations: 4.227 MB / 1.421 GB, free: 6.387 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.177, allocations: 39.94 kB / 1.421 GB, free: 6.34 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/1.177, allocations: 1.344 kB / 1.421 GB, free: 6.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0005737/1.178, allocations: 167.1 kB / 1.421 GB, free: 6.242 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/1.178, allocations: 54.03 kB / 1.421 GB, free: 6.18 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/1.178, allocations: 98.14 kB / 1.421 GB, free: 6.078 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/1.178, allocations: 31.05 kB / 1.421 GB, free: 6.043 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/1.178, allocations: 85.69 kB / 1.421 GB, free: 5.957 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/1.178, allocations: 47.7 kB / 1.421 GB, free: 5.914 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/1.178, allocations: 26.95 kB / 1.421 GB, free: 5.891 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.178, allocations: 320.2 kB / 1.421 GB, free: 5.57 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/1.179, allocations: 24.89 kB / 1.421 GB, free: 5.559 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/1.179, allocations: 30.3 kB / 1.421 GB, free: 5.543 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/1.179, allocations: 65.39 kB / 1.422 GB, free: 5.512 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.179, allocations: 5.031 kB / 1.422 GB, free: 5.508 MB / 1.107 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000187/1.179, allocations: 106.3 kB / 1.422 GB, free: 5.441 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.179, allocations: 8.625 kB / 1.422 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.179, allocations: 5.25 kB / 1.422 GB, free: 5.434 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.179, allocations: 0 / 1.422 GB, free: 5.434 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/1.179, allocations: 25.27 kB / 1.422 GB, free: 5.426 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/1.179, allocations: 1.188 kB / 1.422 GB, free: 5.426 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/1.179, allocations: 20.91 kB / 1.422 GB, free: 5.406 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.179, allocations: 3.406 kB / 1.422 GB, free: 5.406 MB / 1.107 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.0001061/1.179, allocations: 113.1 kB / 1.422 GB, free: 5.289 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/1.179, allocations: 7.391 kB / 1.422 GB, free: 5.285 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/1.18, allocations: 375.4 kB / 1.422 GB, free: 5.055 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.18, allocations: 6.672 kB / 1.422 GB, free: 5.051 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.18, allocations: 0 / 1.422 GB, free: 5.051 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.18, allocations: 9.172 kB / 1.422 GB, free: 5.043 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/1.18, allocations: 281.6 kB / 1.422 GB, free: 4.77 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.18, allocations: 0 / 1.422 GB, free: 4.77 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.18, allocations: 29.42 kB / 1.422 GB, free: 4.758 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.18, allocations: 0 / 1.422 GB, free: 4.758 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/1.18, allocations: 2.5 kB / 1.422 GB, free: 4.758 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.18, allocations: 0 / 1.422 GB, free: 4.758 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.18, allocations: 1.125 kB / 1.422 GB, free: 4.758 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/1.181, allocations: 337.8 kB / 1.423 GB, free: 4.512 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/1.181, allocations: 104.6 kB / 1.423 GB, free: 4.398 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/1.181, allocations: 5.156 kB / 1.423 GB, free: 4.395 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/1.181, allocations: 6.109 kB / 1.423 GB, free: 4.391 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/1.181, allocations: 17.23 kB / 1.423 GB, free: 4.379 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/1.181, allocations: 3.656 kB / 1.423 GB, free: 4.379 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.823e-05/1.181, allocations: 82.75 kB / 1.423 GB, free: 4.301 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.181, allocations: 0 / 1.423 GB, free: 4.301 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001232/1.182, allocations: 301.9 kB / 1.423 GB, free: 4.266 MB / 1.107 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.001978/1.184, allocations: 1.151 MB / 1.424 GB, free: 3.406 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002572/1.184, allocations: 119.7 kB / 1.425 GB, free: 3.355 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.184, allocations: 4 kB / 1.425 GB, free: 3.352 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/1.185, allocations: 87.41 kB / 1.425 GB, free: 3.312 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/1.185, allocations: 26.48 kB / 1.425 GB, free: 3.293 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.186, allocations: 427.5 kB / 1.425 GB, free: 2.992 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/1.186, allocations: 0.7168 MB / 1.426 GB, free: 2.281 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001249/1.186, allocations: 31.41 kB / 1.426 GB, free: 2.266 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/1.186, allocations: 42.2 kB / 1.426 GB, free: 2.23 MB / 1.107 GB Notification: Performance of SimCode: time 3e-07/1.186, allocations: 0 / 1.426 GB, free: 2.23 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/1.227, allocations: 11.65 MB / 1.437 GB, free: 8.148 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.617/9.844, allocations: 14.11 kB / 1.437 GB, free: 8.141 MB / 1.123 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.163909837137908]