Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001336/0.001336, allocations: 103.2 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.001316/0.001316, 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.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.89 kB / 1.134 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9645/0.9665, allocations: 173.9 MB / 1.304 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1885/1.155, allocations: 135.9 MB / 1.437 GB, free: 12.37 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01184/1.167, allocations: 7.95 MB / 1.444 GB, free: 4.379 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/1.167, allocations: 0 / 1.444 GB, free: 4.379 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/1.167, allocations: 27.83 kB / 1.444 GB, free: 4.352 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/1.167, allocations: 15.86 kB / 1.445 GB, free: 4.336 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005298/1.172, allocations: 1.473 MB / 1.446 GB, free: 2.863 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/1.173, allocations: 63.72 kB / 1.446 GB, free: 2.801 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 6.93e-05/1.173, allocations: 7.984 kB / 1.446 GB, free: 2.793 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/1.173, allocations: 43.84 kB / 1.446 GB, free: 2.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/1.173, allocations: 39.83 kB / 1.446 GB, free: 2.711 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/1.173, allocations: 0 / 1.446 GB, free: 2.711 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007048/1.18, allocations: 2.704 MB / 1.449 GB, free: 4 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/1.18, allocations: 19.92 kB / 1.449 GB, free: 15.98 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/1.18, allocations: 31.84 kB / 1.449 GB, free: 15.95 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/1.184, allocations: 1.38 MB / 1.45 GB, free: 14.57 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.184, allocations: 0 / 1.45 GB, free: 14.57 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.184e-06/1.184, allocations: 0 / 1.45 GB, free: 14.57 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.331e-05/1.184, allocations: 3.938 kB / 1.45 GB, free: 14.57 MB / 1.139 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.0015/1.186, allocations: 0.4984 MB / 1.451 GB, free: 14.02 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.186, allocations: 12.02 kB / 1.451 GB, free: 14.01 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/1.186, allocations: 38.75 kB / 1.451 GB, free: 13.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/1.186, allocations: 20.92 kB / 1.451 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/1.186, allocations: 176.3 kB / 1.451 GB, free: 13.73 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.963e-05/1.186, allocations: 37.95 kB / 1.451 GB, free: 13.69 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/1.186, allocations: 8 kB / 1.451 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/1.187, allocations: 113.6 kB / 1.451 GB, free: 13.56 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.187, allocations: 0 / 1.451 GB, free: 13.56 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.187, allocations: 8 kB / 1.451 GB, free: 13.55 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.187, allocations: 0 / 1.451 GB, free: 13.55 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/1.187, allocations: 115.8 kB / 1.451 GB, free: 13.44 MB / 1.139 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.0005969/1.188, allocations: 384.1 kB / 1.451 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/1.188, allocations: 114.6 kB / 1.452 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/1.188, allocations: 48.78 kB / 1.452 GB, free: 12.83 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/1.2, allocations: 4.23 MB / 1.456 GB, free: 8.285 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/1.2, allocations: 34.5 kB / 1.456 GB, free: 8.242 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/1.2, allocations: 0 / 1.456 GB, free: 8.242 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.000569/1.201, allocations: 173 kB / 1.456 GB, free: 8.07 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.201, allocations: 51.41 kB / 1.456 GB, free: 8.008 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/1.201, allocations: 105.8 kB / 1.456 GB, free: 7.895 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.201, allocations: 29.7 kB / 1.456 GB, free: 7.859 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/1.201, allocations: 84.14 kB / 1.456 GB, free: 7.773 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/1.201, allocations: 39.64 kB / 1.456 GB, free: 7.734 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/1.201, allocations: 29.7 kB / 1.456 GB, free: 7.699 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.202, allocations: 318.8 kB / 1.457 GB, free: 7.379 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/1.202, allocations: 27.98 kB / 1.457 GB, free: 7.352 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-05/1.202, allocations: 31.98 kB / 1.457 GB, free: 7.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/1.202, allocations: 72.78 kB / 1.457 GB, free: 7.246 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.202, allocations: 0 / 1.457 GB, free: 7.246 MB / 1.139 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001989/1.202, allocations: 105.6 kB / 1.457 GB, free: 7.137 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.202, allocations: 8 kB / 1.457 GB, free: 7.129 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.202, allocations: 0 / 1.457 GB, free: 7.129 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.202, allocations: 0 / 1.457 GB, free: 7.129 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/1.202, allocations: 23.92 kB / 1.457 GB, free: 7.105 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.202, allocations: 0 / 1.457 GB, free: 7.105 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/1.202, allocations: 15.88 kB / 1.457 GB, free: 7.09 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/1.202, allocations: 8 kB / 1.457 GB, free: 7.082 MB / 1.139 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.0001088/1.202, allocations: 113.8 kB / 1.457 GB, free: 6.961 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/1.202, allocations: 7.953 kB / 1.457 GB, free: 6.953 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/1.203, allocations: 368.3 kB / 1.457 GB, free: 6.59 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/1.203, allocations: 11.98 kB / 1.457 GB, free: 6.578 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.203, allocations: 3.938 kB / 1.457 GB, free: 6.574 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.203, allocations: 7.875 kB / 1.457 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/1.203, allocations: 285.4 kB / 1.458 GB, free: 6.238 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.203, allocations: 0 / 1.458 GB, free: 6.238 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-05/1.203, allocations: 19.98 kB / 1.458 GB, free: 6.219 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/1.203, allocations: 4 kB / 1.458 GB, free: 6.215 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.203, allocations: 4 kB / 1.458 GB, free: 6.211 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/1.203, allocations: 3.984 kB / 1.458 GB, free: 6.207 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.203, allocations: 0 / 1.458 GB, free: 6.207 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/1.204, allocations: 337.3 kB / 1.458 GB, free: 5.863 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.01e-05/1.204, allocations: 104.9 kB / 1.458 GB, free: 5.742 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/1.204, allocations: 7.984 kB / 1.458 GB, free: 5.734 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.204, allocations: 8 kB / 1.458 GB, free: 5.727 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/1.204, allocations: 11.92 kB / 1.458 GB, free: 5.715 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.204, allocations: 8 kB / 1.458 GB, free: 5.707 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.539e-05/1.204, allocations: 83.27 kB / 1.458 GB, free: 5.625 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/1.204, allocations: 0 / 1.458 GB, free: 5.625 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009059/1.205, allocations: 295.7 kB / 1.459 GB, free: 5.336 MB / 1.139 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.002023/1.207, allocations: 1.161 MB / 1.46 GB, free: 4.145 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002382/1.207, allocations: 117.5 kB / 1.46 GB, free: 4.031 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.207, allocations: 0 / 1.46 GB, free: 4.031 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/1.207, allocations: 83.91 kB / 1.46 GB, free: 3.949 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/1.208, allocations: 19.92 kB / 1.46 GB, free: 3.93 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.209, allocations: 442.1 kB / 1.46 GB, free: 3.457 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/1.209, allocations: 0.7204 MB / 1.461 GB, free: 2.711 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001044/1.209, allocations: 28.28 kB / 1.461 GB, free: 2.684 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/1.209, allocations: 43.42 kB / 1.461 GB, free: 2.641 MB / 1.139 GB Notification: Performance of SimCode: time 3.81e-07/1.209, allocations: 0 / 1.461 GB, free: 2.641 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/1.249, allocations: 11.65 MB / 1.472 GB, free: 7.098 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/9.571, allocations: 8.641 kB / 1.472 GB, free: 7.094 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.741612792015076]