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.001169/0.001169, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001357/0.001357, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] 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.496/2.496, allocations: 476.7 MB / 0.7628 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 177] 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.001789/0.001789, allocations: 67.91 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7325/0.7343, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.148/0.8822, allocations: 136 MB / 1.404 GB, free: 4.098 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008927/0.8912, allocations: 7.98 MB / 1.412 GB, free: 13.75 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.8912, allocations: 4 kB / 1.412 GB, free: 13.74 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.8914, allocations: 33.41 kB / 1.412 GB, free: 13.71 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.8914, allocations: 14.61 kB / 1.412 GB, free: 13.7 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.8947, allocations: 1.47 MB / 1.413 GB, free: 12.67 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.8948, allocations: 70.34 kB / 1.413 GB, free: 12.63 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.8948, allocations: 3.406 kB / 1.413 GB, free: 12.63 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.8949, allocations: 48.77 kB / 1.414 GB, free: 12.61 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.895, allocations: 37.11 kB / 1.414 GB, free: 12.58 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.895, allocations: 2.562 kB / 1.414 GB, free: 12.58 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.899, allocations: 2.712 MB / 1.416 GB, free: 11.17 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.8991, allocations: 10.39 kB / 1.416 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.8991, allocations: 32.84 kB / 1.416 GB, free: 11.14 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.9008, allocations: 1.377 MB / 1.418 GB, free: 10.26 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.9008, allocations: 0 / 1.418 GB, free: 10.26 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9008, allocations: 0 / 1.418 GB, free: 10.26 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.9008, allocations: 1.375 kB / 1.418 GB, free: 10.26 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.0009379/0.9017, allocations: 0.4932 MB / 1.418 GB, free: 9.812 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.9018, allocations: 13.91 kB / 1.418 GB, free: 9.809 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.9018, allocations: 41.48 kB / 1.418 GB, free: 9.762 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.9021, allocations: 23.19 kB / 1.418 GB, free: 9.754 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.9023, allocations: 173.8 kB / 1.418 GB, free: 9.547 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.9023, allocations: 45.94 kB / 1.418 GB, free: 9.5 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.9024, allocations: 3.812 kB / 1.418 GB, free: 9.5 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.9027, allocations: 115.9 kB / 1.418 GB, free: 9.422 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.9027, allocations: 1.094 kB / 1.418 GB, free: 9.422 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.9027, allocations: 0 / 1.418 GB, free: 9.422 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9027, allocations: 6.406 kB / 1.418 GB, free: 9.418 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.903, allocations: 123.9 kB / 1.419 GB, free: 9.355 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.0004626/0.9034, allocations: 380.7 kB / 1.419 GB, free: 8.957 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.9037, allocations: 117.7 kB / 1.419 GB, free: 8.883 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.9038, allocations: 42.66 kB / 1.419 GB, free: 8.859 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.9148, allocations: 4.235 MB / 1.423 GB, free: 6.121 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.9149, allocations: 35.66 kB / 1.423 GB, free: 6.078 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.9149, allocations: 7.938 kB / 1.423 GB, free: 6.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0004934/0.9154, allocations: 161.3 kB / 1.423 GB, free: 5.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.9154, allocations: 52.78 kB / 1.424 GB, free: 5.918 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.9155, allocations: 102.9 kB / 1.424 GB, free: 5.812 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.9155, allocations: 29.7 kB / 1.424 GB, free: 5.777 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.9155, allocations: 85.12 kB / 1.424 GB, free: 5.691 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.9156, allocations: 48.95 kB / 1.424 GB, free: 5.648 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.9156, allocations: 22.56 kB / 1.424 GB, free: 5.629 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9158, allocations: 324.2 kB / 1.424 GB, free: 5.305 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.9158, allocations: 25.61 kB / 1.424 GB, free: 5.293 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.436e-05/0.9158, allocations: 26.89 kB / 1.424 GB, free: 5.281 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.9159, allocations: 68.42 kB / 1.424 GB, free: 5.246 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.916, allocations: 5.453 kB / 1.424 GB, free: 5.242 MB / 1.107 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001824/0.9161, allocations: 105.7 kB / 1.424 GB, free: 5.176 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9162, allocations: 10.89 kB / 1.424 GB, free: 5.172 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.9162, allocations: 1.906 kB / 1.424 GB, free: 5.172 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.9162, allocations: 0 / 1.424 GB, free: 5.172 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.9163, allocations: 29.11 kB / 1.424 GB, free: 5.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.9163, allocations: 4.719 kB / 1.424 GB, free: 5.156 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.9163, allocations: 12.94 kB / 1.424 GB, free: 5.145 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.9164, allocations: 4.438 kB / 1.424 GB, free: 5.145 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 8.513e-05/0.9164, allocations: 111.6 kB / 1.424 GB, free: 5.027 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.9165, allocations: 8.266 kB / 1.424 GB, free: 5.023 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.9169, allocations: 366.7 kB / 1.425 GB, free: 4.801 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.9169, allocations: 6.672 kB / 1.425 GB, free: 4.797 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.9169, allocations: 7.938 kB / 1.425 GB, free: 4.789 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9169, allocations: 5.344 kB / 1.425 GB, free: 4.785 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.9172, allocations: 284.8 kB / 1.425 GB, free: 4.508 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9172, allocations: 1.188 kB / 1.425 GB, free: 4.508 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.9173, allocations: 24.3 kB / 1.425 GB, free: 4.5 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9173, allocations: 1.188 kB / 1.425 GB, free: 4.5 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.9173, allocations: 0.9375 kB / 1.425 GB, free: 4.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.9173, allocations: 1.062 kB / 1.425 GB, free: 4.5 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9174, allocations: 1.281 kB / 1.425 GB, free: 4.5 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.9177, allocations: 338.5 kB / 1.425 GB, free: 4.254 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.9178, allocations: 104.3 kB / 1.426 GB, free: 4.141 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.9178, allocations: 9 kB / 1.426 GB, free: 4.133 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.9179, allocations: 6.297 kB / 1.426 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.9179, allocations: 16.48 kB / 1.426 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.9179, allocations: 4.438 kB / 1.426 GB, free: 4.117 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.83e-05/0.918, allocations: 77.56 kB / 1.426 GB, free: 4.043 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.918, allocations: 1.25 kB / 1.426 GB, free: 4.043 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008829/0.9189, allocations: 309 kB / 1.426 GB, free: 4 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.001676/0.9205, allocations: 1.148 MB / 1.427 GB, free: 3.145 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.9208, allocations: 116.2 kB / 1.427 GB, free: 3.098 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9208, allocations: 0 / 1.427 GB, free: 3.098 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.9209, allocations: 91.19 kB / 1.427 GB, free: 3.055 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.9211, allocations: 25.67 kB / 1.427 GB, free: 3.035 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.922, allocations: 432.5 kB / 1.428 GB, free: 2.73 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.9223, allocations: 0.7162 MB / 1.428 GB, free: 2.02 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 9.104e-05/0.9224, allocations: 35.41 kB / 1.428 GB, free: 2 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.9224, allocations: 42.28 kB / 1.429 GB, free: 1.965 MB / 1.107 GB Notification: Performance of SimCode: time 3e-07/0.9224, allocations: 0 / 1.429 GB, free: 1.965 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.9573, allocations: 11.63 MB / 1.44 GB, free: 7.527 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/8.269, allocations: 0.5 kB / 1.44 GB, free: 7.527 MB / 1.123 GB " [Timeout remaining time 292] (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) [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/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: 13.537899631999608]