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.001382/0.001382, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001461/0.001461, allocations: 223.3 kB / 23.03 MB, free: 4.945 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 3.256/3.256, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.002178/0.002178, allocations: 65.55 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4376, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1737/0.6113, allocations: 119.1 MB / 1.443 GB, free: 10 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009943/0.6212, allocations: 7.224 MB / 1.45 GB, free: 2.75 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.6213, allocations: 4 kB / 1.45 GB, free: 2.746 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.6215, allocations: 23.83 kB / 1.45 GB, free: 2.723 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.6215, allocations: 19.84 kB / 1.45 GB, free: 2.703 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004479/0.626, allocations: 1.459 MB / 1.451 GB, free: 1.246 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.6262, allocations: 71.66 kB / 1.451 GB, free: 1.176 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.076e-05/0.6263, allocations: 4 kB / 1.451 GB, free: 1.172 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.6264, allocations: 51.83 kB / 1.451 GB, free: 1.121 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.6265, allocations: 39.77 kB / 1.452 GB, free: 1.082 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.6265, allocations: 4 kB / 1.452 GB, free: 1.078 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005035/0.6316, allocations: 2.688 MB / 1.454 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.6316, allocations: 11.98 kB / 1.454 GB, free: 14.38 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.6317, allocations: 35.84 kB / 1.454 GB, free: 14.34 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.6343, allocations: 1.38 MB / 1.456 GB, free: 12.96 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6343, allocations: 0 / 1.456 GB, free: 12.96 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6343, allocations: 3.938 kB / 1.456 GB, free: 12.95 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6343, allocations: 0 / 1.456 GB, free: 12.95 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.001077/0.6354, allocations: 433.2 kB / 1.456 GB, free: 12.5 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.6354, allocations: 8.031 kB / 1.456 GB, free: 12.49 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.37e-05/0.6354, allocations: 12.19 kB / 1.456 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.6355, allocations: 34.75 kB / 1.456 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/0.6358, allocations: 32.8 kB / 1.456 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.636, allocations: 114.5 kB / 1.456 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/0.6361, allocations: 59.47 kB / 1.456 GB, free: 12.2 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.6361, allocations: 12 kB / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.6365, allocations: 145.8 kB / 1.456 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.6365, allocations: 0 / 1.456 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.6365, allocations: 4 kB / 1.456 GB, free: 12.03 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6365, allocations: 0 / 1.456 GB, free: 12.03 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.6368, allocations: 119.9 kB / 1.456 GB, free: 11.91 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.0005256/0.6374, allocations: 295.8 kB / 1.457 GB, free: 11.58 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.6377, allocations: 122.5 kB / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.6377, allocations: 48.84 kB / 1.457 GB, free: 11.4 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.6492, allocations: 3.036 MB / 1.46 GB, free: 8.363 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.6492, allocations: 34.56 kB / 1.46 GB, free: 8.32 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.6492, allocations: 0 / 1.46 GB, free: 8.32 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0006435/0.6499, allocations: 169.5 kB / 1.46 GB, free: 8.148 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.6499, allocations: 55.41 kB / 1.46 GB, free: 8.082 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.65, allocations: 105.8 kB / 1.46 GB, free: 7.969 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.65, allocations: 29.7 kB / 1.46 GB, free: 7.934 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.6501, allocations: 80.14 kB / 1.46 GB, free: 7.852 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.6502, allocations: 55.56 kB / 1.46 GB, free: 7.797 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.6502, allocations: 25.7 kB / 1.46 GB, free: 7.766 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6504, allocations: 314.8 kB / 1.461 GB, free: 7.449 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.6504, allocations: 23.98 kB / 1.461 GB, free: 7.426 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/0.6505, allocations: 30.98 kB / 1.461 GB, free: 7.398 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.6506, allocations: 64.84 kB / 1.461 GB, free: 7.332 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6506, allocations: 0 / 1.461 GB, free: 7.332 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001975/0.6508, allocations: 125.5 kB / 1.461 GB, free: 7.203 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.6508, allocations: 4 kB / 1.461 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6508, allocations: 3.938 kB / 1.461 GB, free: 7.195 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.6508, allocations: 0 / 1.461 GB, free: 7.195 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.651, allocations: 23.98 kB / 1.461 GB, free: 7.172 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.651, allocations: 3.938 kB / 1.461 GB, free: 7.168 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.651, allocations: 7.953 kB / 1.461 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.6511, allocations: 4 kB / 1.461 GB, free: 7.156 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 0.0001199/0.6512, allocations: 118.3 kB / 1.461 GB, free: 7.031 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.6512, allocations: 11.98 kB / 1.461 GB, free: 7.02 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.6517, allocations: 384.1 kB / 1.461 GB, free: 6.637 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6518, allocations: 3.984 kB / 1.461 GB, free: 6.633 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.6518, allocations: 3.938 kB / 1.462 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6518, allocations: 0 / 1.462 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.6521, allocations: 248.5 kB / 1.462 GB, free: 6.344 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6521, allocations: 0 / 1.462 GB, free: 6.344 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.6522, allocations: 27.92 kB / 1.462 GB, free: 6.316 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6522, allocations: 0 / 1.462 GB, free: 6.316 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6522, allocations: 4 kB / 1.462 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6522, allocations: 0 / 1.462 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6522, allocations: 12.11 kB / 1.462 GB, free: 6.301 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.6527, allocations: 335 kB / 1.462 GB, free: 5.957 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.6528, allocations: 27.81 kB / 1.462 GB, free: 5.93 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.6528, allocations: 8 kB / 1.462 GB, free: 5.922 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.6529, allocations: 3.984 kB / 1.462 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.653, allocations: 19.92 kB / 1.462 GB, free: 5.898 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.653, allocations: 7.984 kB / 1.462 GB, free: 5.891 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.653, allocations: 79.28 kB / 1.462 GB, free: 5.812 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.653, allocations: 0 / 1.462 GB, free: 5.812 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001145/0.6542, allocations: 307.6 kB / 1.463 GB, free: 5.512 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.002043/0.6562, allocations: 1.165 MB / 1.464 GB, free: 4.32 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.6565, allocations: 131.8 kB / 1.464 GB, free: 4.191 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6565, allocations: 0 / 1.464 GB, free: 4.191 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.6567, allocations: 87.91 kB / 1.464 GB, free: 4.105 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.6571, allocations: 19.92 kB / 1.464 GB, free: 4.086 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.6581, allocations: 445.5 kB / 1.464 GB, free: 3.609 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.6582, allocations: 106.3 kB / 1.464 GB, free: 3.488 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.6583, allocations: 28.34 kB / 1.464 GB, free: 3.461 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.6584, allocations: 39.42 kB / 1.464 GB, free: 3.422 MB / 1.154 GB Notification: Performance of SimCode: time 3.11e-07/0.6584, allocations: 0 / 1.464 GB, free: 3.422 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04067/0.6991, allocations: 12.02 MB / 1.476 GB, free: 7.574 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.58, allocations: 8.062 kB / 1.476 GB, free: 7.566 MB / 1.17 GB " [Timeout remaining time 287] (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: 19.77053107600659]