Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 114.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.856/2.856, allocations: 0.49 GB / 0.7923 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.89 kB / 1.149 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9691/0.9711, allocations: 176.1 MB / 1.321 GB, free: 7.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.176/1.147, allocations: 138.8 MB / 1.457 GB, free: 10.8 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01033/1.157, allocations: 8.006 MB / 1.465 GB, free: 2.77 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/1.157, allocations: 3.938 kB / 1.465 GB, free: 2.766 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/1.158, allocations: 27.89 kB / 1.465 GB, free: 2.738 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/1.158, allocations: 15.84 kB / 1.465 GB, free: 2.723 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004175/1.162, allocations: 1.479 MB / 1.466 GB, free: 1.246 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/1.162, allocations: 71.7 kB / 1.466 GB, free: 1.176 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/1.162, allocations: 4 kB / 1.466 GB, free: 1.172 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/1.162, allocations: 51.78 kB / 1.466 GB, free: 1.121 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.993e-05/1.162, allocations: 31.89 kB / 1.466 GB, free: 1.09 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/1.162, allocations: 4 kB / 1.466 GB, free: 1.086 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/1.167, allocations: 2.712 MB / 1.469 GB, free: 14.37 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/1.167, allocations: 23.91 kB / 1.469 GB, free: 14.35 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/1.167, allocations: 27.86 kB / 1.469 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/1.17, allocations: 1.388 MB / 1.471 GB, free: 12.93 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.17, allocations: 4 kB / 1.471 GB, free: 12.93 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.082e-06/1.17, allocations: 0 / 1.471 GB, free: 12.93 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.478e-05/1.17, allocations: 0 / 1.471 GB, free: 12.93 MB / 1.154 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.001246/1.171, allocations: 0.4983 MB / 1.471 GB, free: 12.38 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.171, allocations: 11.98 kB / 1.471 GB, free: 12.37 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/1.171, allocations: 12.12 kB / 1.471 GB, free: 12.36 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/1.171, allocations: 38.69 kB / 1.471 GB, free: 12.31 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/1.172, allocations: 28.86 kB / 1.471 GB, free: 12.28 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/1.172, allocations: 164.4 kB / 1.471 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.112e-05/1.172, allocations: 37.83 kB / 1.471 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/1.172, allocations: 7.938 kB / 1.471 GB, free: 12.03 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/1.172, allocations: 125.5 kB / 1.471 GB, free: 11.9 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.172, allocations: 0 / 1.471 GB, free: 11.9 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.172, allocations: 4 kB / 1.471 GB, free: 11.9 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/1.172, allocations: 4 kB / 1.471 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/1.173, allocations: 122.5 kB / 1.472 GB, free: 11.78 MB / 1.154 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.0005802/1.173, allocations: 380.1 kB / 1.472 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/1.174, allocations: 114.6 kB / 1.472 GB, free: 11.22 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/1.174, allocations: 44.83 kB / 1.472 GB, free: 11.18 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01249/1.186, allocations: 4.673 MB / 1.477 GB, free: 6.094 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.186, allocations: 42.48 kB / 1.477 GB, free: 6.043 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/1.186, allocations: 0 / 1.477 GB, free: 6.043 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0005668/1.187, allocations: 165.6 kB / 1.477 GB, free: 5.875 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.187, allocations: 51.41 kB / 1.477 GB, free: 5.812 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/1.187, allocations: 105.7 kB / 1.477 GB, free: 5.699 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/1.187, allocations: 25.7 kB / 1.477 GB, free: 5.668 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/1.187, allocations: 100.2 kB / 1.477 GB, free: 5.566 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/1.187, allocations: 39.64 kB / 1.477 GB, free: 5.527 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/1.187, allocations: 25.72 kB / 1.477 GB, free: 5.496 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.187, allocations: 322.8 kB / 1.477 GB, free: 5.172 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/1.187, allocations: 23.98 kB / 1.477 GB, free: 5.148 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/1.187, allocations: 28.42 kB / 1.478 GB, free: 5.121 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/1.187, allocations: 75.11 kB / 1.478 GB, free: 5.047 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.187, allocations: 0 / 1.478 GB, free: 5.047 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001982/1.188, allocations: 109.6 kB / 1.478 GB, free: 4.934 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.188, allocations: 4 kB / 1.478 GB, free: 4.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.188, allocations: 0 / 1.478 GB, free: 4.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.188, allocations: 11.92 kB / 1.478 GB, free: 4.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/1.188, allocations: 19.94 kB / 1.478 GB, free: 4.898 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.188, allocations: 3.938 kB / 1.478 GB, free: 4.895 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/1.188, allocations: 15.88 kB / 1.478 GB, free: 4.879 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/1.188, allocations: 4 kB / 1.478 GB, free: 4.875 MB / 1.154 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.926e-05/1.188, allocations: 113.8 kB / 1.478 GB, free: 4.754 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/1.188, allocations: 8 kB / 1.478 GB, free: 4.746 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005466/1.189, allocations: 372 kB / 1.478 GB, free: 4.371 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.189, allocations: 4 kB / 1.478 GB, free: 4.367 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.189, allocations: 7.922 kB / 1.478 GB, free: 4.359 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.189, allocations: 4 kB / 1.478 GB, free: 4.355 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/1.189, allocations: 273.5 kB / 1.478 GB, free: 4.039 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.189, allocations: 0 / 1.478 GB, free: 4.039 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/1.189, allocations: 19.98 kB / 1.479 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.189, allocations: 192 / 1.479 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.189, allocations: 8 kB / 1.479 GB, free: 4.012 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.189, allocations: 4 kB / 1.479 GB, free: 4.008 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.189, allocations: 3.938 kB / 1.479 GB, free: 4.004 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/1.189, allocations: 335 kB / 1.479 GB, free: 3.66 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.134e-05/1.189, allocations: 108.9 kB / 1.479 GB, free: 3.535 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/1.189, allocations: 0 / 1.479 GB, free: 3.535 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/1.19, allocations: 11.98 kB / 1.479 GB, free: 3.523 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/1.19, allocations: 11.92 kB / 1.479 GB, free: 3.512 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/1.19, allocations: 12 kB / 1.479 GB, free: 3.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.105e-05/1.19, allocations: 83.28 kB / 1.479 GB, free: 3.418 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.19, allocations: 3.938 kB / 1.479 GB, free: 3.414 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000911/1.191, allocations: 299.7 kB / 1.479 GB, free: 3.121 MB / 1.154 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.002022/1.193, allocations: 1.165 MB / 1.48 GB, free: 1.93 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002477/1.193, allocations: 119.5 kB / 1.481 GB, free: 1.816 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.193, allocations: 4 kB / 1.481 GB, free: 1.812 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/1.193, allocations: 87.91 kB / 1.481 GB, free: 1.727 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/1.193, allocations: 21.95 kB / 1.481 GB, free: 1.707 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.194, allocations: 437.5 kB / 1.481 GB, free: 1.238 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.195, allocations: 0.7166 MB / 1.482 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001008/1.195, allocations: 28.34 kB / 1.482 GB, free: 480 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/1.195, allocations: 39.42 kB / 1.482 GB, free: 440 kB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/1.195, allocations: 0 / 1.482 GB, free: 440 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/1.228, allocations: 11.75 MB / 1.493 GB, free: 4.793 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/9.616, allocations: 13 kB / 1.493 GB, free: 4.781 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.850306003005244]