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.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.0008281/0.0008281, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008632/0.0008632, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8922/0.8922, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.646/1.646, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.675e-06/2.675e-06, allocations: 0 / 0.9505 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/3.03e-05, allocations: 6.219 kB / 0.9505 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.6535/0.6536, allocations: 119.2 MB / 1.067 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006708/0.6603, allocations: 7.224 MB / 1.074 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.6603, allocations: 2.906 kB / 1.074 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.6605, allocations: 33 kB / 1.074 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.6606, allocations: 16.69 kB / 1.074 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.6642, allocations: 1.469 MB / 1.075 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.6643, allocations: 79.89 kB / 1.075 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.6643, allocations: 6.391 kB / 1.075 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.6645, allocations: 57.91 kB / 1.076 GB, free: 14 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.6646, allocations: 26.73 kB / 1.076 GB, free: 14 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.6646, allocations: 3.969 kB / 1.076 GB, free: 14 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.6678, allocations: 2.62 MB / 1.078 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.6679, allocations: 17.03 kB / 1.078 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.6679, allocations: 25.61 kB / 1.078 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.6701, allocations: 1.792 MB / 1.08 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6701, allocations: 0 / 1.08 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6701, allocations: 0.75 kB / 1.08 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.6701, allocations: 0 / 1.08 GB, free: 12.87 MB / 0.9323 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.00117/0.6713, allocations: 441.5 kB / 1.08 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6713, allocations: 8.469 kB / 1.08 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.6714, allocations: 39.94 kB / 1.08 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.6716, allocations: 28.53 kB / 1.08 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.6716, allocations: 109.6 kB / 1.08 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.6717, allocations: 57.92 kB / 1.081 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.6717, allocations: 8.625 kB / 1.081 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.672, allocations: 150.2 kB / 1.081 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.672, allocations: 0 / 1.081 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.672, allocations: 4 kB / 1.081 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.672, allocations: 6.5 kB / 1.081 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.6722, allocations: 115.3 kB / 1.081 GB, free: 12.15 MB / 0.9323 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.0004286/0.6726, allocations: 298.4 kB / 1.081 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.6728, allocations: 111.8 kB / 1.081 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.6729, allocations: 48.97 kB / 1.081 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005623/0.6785, allocations: 3.037 MB / 1.084 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6785, allocations: 38.56 kB / 1.084 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.6785, allocations: 0 / 1.084 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0003585/0.6789, allocations: 175.2 kB / 1.084 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.6789, allocations: 54.06 kB / 1.084 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.679, allocations: 97.27 kB / 1.085 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.679, allocations: 30.89 kB / 1.085 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.679, allocations: 85.42 kB / 1.085 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.679, allocations: 44.67 kB / 1.085 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.6791, allocations: 28.27 kB / 1.085 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.6792, allocations: 324 kB / 1.085 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.6792, allocations: 22.97 kB / 1.085 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.6792, allocations: 28.25 kB / 1.085 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.6793, allocations: 67.25 kB / 1.085 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6793, allocations: 4 kB / 1.085 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001354/0.6794, allocations: 116.1 kB / 1.085 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6795, allocations: 5.688 kB / 1.085 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6795, allocations: 1.484 kB / 1.085 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6795, allocations: 1.219 kB / 1.085 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.6796, allocations: 20.45 kB / 1.085 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.6796, allocations: 3.031 kB / 1.085 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.6796, allocations: 14.2 kB / 1.085 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.6796, allocations: 2.562 kB / 1.085 GB, free: 10.56 MB / 0.9323 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 6.486e-05/0.6797, allocations: 127.8 kB / 1.085 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.6797, allocations: 2.875 kB / 1.085 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.68, allocations: 383.4 kB / 1.086 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.68, allocations: 8.703 kB / 1.086 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.68, allocations: 1.062 kB / 1.086 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.68, allocations: 5.719 kB / 1.086 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.6802, allocations: 249.5 kB / 1.086 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6802, allocations: 0 / 1.086 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.6803, allocations: 26.98 kB / 1.086 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6803, allocations: 1.094 kB / 1.086 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.6803, allocations: 4 kB / 1.086 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6803, allocations: 6.422 kB / 1.086 GB, free: 10 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6803, allocations: 1.094 kB / 1.086 GB, free: 10 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.6805, allocations: 331.2 kB / 1.086 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.6806, allocations: 34.16 kB / 1.086 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.6806, allocations: 5 kB / 1.086 GB, free: 9.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.6806, allocations: 9.734 kB / 1.086 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.6807, allocations: 8.453 kB / 1.086 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.6807, allocations: 10.28 kB / 1.086 GB, free: 9.762 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 2.854e-05/0.6807, allocations: 78.41 kB / 1.087 GB, free: 9.688 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.6807, allocations: 0 / 1.087 GB, free: 9.688 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000752/0.6815, allocations: 309 kB / 1.087 GB, free: 9.652 MB / 0.9323 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.001404/0.6829, allocations: 1.204 MB / 1.088 GB, free: 8.844 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.683, allocations: 122 kB / 1.088 GB, free: 8.805 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.683, allocations: 0 / 1.088 GB, free: 8.805 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.6831, allocations: 99.25 kB / 1.088 GB, free: 8.766 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.6833, allocations: 16.86 kB / 1.088 GB, free: 8.762 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.684, allocations: 435.2 kB / 1.089 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.558e-05/0.6841, allocations: 109 kB / 1.089 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.739e-05/0.6842, allocations: 29.92 kB / 1.089 GB, free: 8.398 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.6842, allocations: 40.41 kB / 1.089 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of SimCode: time 3.6e-07/0.6842, allocations: 0 / 1.089 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.7095, allocations: 12.43 MB / 1.101 GB, free: 2.312 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/7.626, allocations: 5.875 kB / 1.101 GB, free: 2.309 MB / 0.9323 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 --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/jenkins/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: 11.667142891325057]