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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01053/0.01054, allocations: 100.8 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 187.7 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 60.12 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2951, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.8372/1.132, allocations: 135.5 MB / 1.34 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009874/1.142, allocations: 7.923 MB / 1.347 GB, free: 2.727 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/1.142, allocations: 5.031 kB / 1.347 GB, free: 2.723 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/1.142, allocations: 27.56 kB / 1.347 GB, free: 2.707 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-05/1.143, allocations: 20.89 kB / 1.347 GB, free: 2.691 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004905/1.148, allocations: 1.457 MB / 1.349 GB, free: 2.172 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/1.148, allocations: 73.33 kB / 1.349 GB, free: 2.145 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/1.148, allocations: 4.984 kB / 1.349 GB, free: 2.145 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/1.148, allocations: 47.05 kB / 1.349 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/1.148, allocations: 35.14 kB / 1.349 GB, free: 2.109 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/1.148, allocations: 3.281 kB / 1.349 GB, free: 2.109 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00589/1.154, allocations: 2.706 MB / 1.352 GB, free: 1.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/1.154, allocations: 15.5 kB / 1.352 GB, free: 1.422 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/1.154, allocations: 36.08 kB / 1.352 GB, free: 1.402 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/1.157, allocations: 1.368 MB / 1.353 GB, free: 1.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.157, allocations: 1.969 kB / 1.353 GB, free: 1.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/1.157, allocations: 0 / 1.353 GB, free: 1.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.157, allocations: 1.5 kB / 1.353 GB, free: 1.07 MB / 1.045 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.001411/1.159, allocations: 0.4936 MB / 1.354 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.159, allocations: 9.688 kB / 1.354 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/1.159, allocations: 41.81 kB / 1.354 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/1.159, allocations: 28.55 kB / 1.354 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.159, allocations: 180.5 kB / 1.354 GB, free: 384 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/1.159, allocations: 30.14 kB / 1.354 GB, free: 352 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/1.159, allocations: 11.59 kB / 1.354 GB, free: 344 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/1.16, allocations: 117.4 kB / 1.354 GB, free: 292 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/1.16, allocations: 4 kB / 1.354 GB, free: 288 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.16, allocations: 5.5 kB / 1.354 GB, free: 284 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.16, allocations: 1.594 kB / 1.354 GB, free: 284 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/1.16, allocations: 113.8 kB / 1.354 GB, free: 260 kB / 1.045 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.0004835/1.16, allocations: 381.3 kB / 1.354 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/1.161, allocations: 122.9 kB / 1.355 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/1.161, allocations: 54.27 kB / 1.355 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/1.173, allocations: 4.23 MB / 1.359 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/1.173, allocations: 32.69 kB / 1.359 GB, free: 13.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/1.173, allocations: 0 / 1.359 GB, free: 13.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005689/1.174, allocations: 164.7 kB / 1.359 GB, free: 13.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/1.174, allocations: 52.78 kB / 1.359 GB, free: 13.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/1.174, allocations: 102 kB / 1.359 GB, free: 13.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/1.174, allocations: 26.73 kB / 1.359 GB, free: 13.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/1.174, allocations: 85.23 kB / 1.359 GB, free: 13.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/1.174, allocations: 48.72 kB / 1.359 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/1.174, allocations: 30.11 kB / 1.359 GB, free: 13.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.174, allocations: 320.3 kB / 1.36 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/1.174, allocations: 22.02 kB / 1.36 GB, free: 12.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/1.174, allocations: 28.39 kB / 1.36 GB, free: 12.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/1.174, allocations: 73.38 kB / 1.36 GB, free: 12.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.174, allocations: 1.25 kB / 1.36 GB, free: 12.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002199/1.175, allocations: 109.7 kB / 1.36 GB, free: 12.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.175, allocations: 9.062 kB / 1.36 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.175, allocations: 4.75 kB / 1.36 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.175, allocations: 1.094 kB / 1.36 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/1.175, allocations: 21.23 kB / 1.36 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.175, allocations: 0 / 1.36 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/1.175, allocations: 6.062 kB / 1.36 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/1.175, allocations: 8.062 kB / 1.36 GB, free: 12.73 MB / 1.061 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 9.562e-05/1.175, allocations: 120.9 kB / 1.36 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/1.175, allocations: 6.594 kB / 1.36 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/1.176, allocations: 373.1 kB / 1.36 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/1.176, allocations: 10.42 kB / 1.36 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.176, allocations: 0 / 1.36 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.176, allocations: 5.25 kB / 1.36 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/1.176, allocations: 281.7 kB / 1.361 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.176, allocations: 4.172 kB / 1.361 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/1.176, allocations: 20.38 kB / 1.361 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.176, allocations: 1.969 kB / 1.361 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/1.176, allocations: 14.53 kB / 1.361 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.176, allocations: 0 / 1.361 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.176, allocations: 0 / 1.361 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/1.177, allocations: 331.8 kB / 1.361 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/1.177, allocations: 104.7 kB / 1.361 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/1.177, allocations: 0 / 1.361 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/1.177, allocations: 8.938 kB / 1.361 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/1.177, allocations: 11.64 kB / 1.361 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/1.177, allocations: 11.86 kB / 1.361 GB, free: 11.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.105e-05/1.177, allocations: 83.22 kB / 1.361 GB, free: 11.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.177, allocations: 4 kB / 1.361 GB, free: 11.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001785/1.179, allocations: 297.5 kB / 1.361 GB, free: 11.59 MB / 1.061 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.003587/1.182, allocations: 1.142 MB / 1.363 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003386/1.183, allocations: 123.2 kB / 1.363 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.183, allocations: 0 / 1.363 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/1.183, allocations: 118.3 kB / 1.363 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/1.183, allocations: 20.34 kB / 1.363 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/1.185, allocations: 430.5 kB / 1.363 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/1.185, allocations: 0.7118 MB / 1.364 GB, free: 9.613 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001452/1.186, allocations: 35.58 kB / 1.364 GB, free: 9.594 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/1.186, allocations: 42.98 kB / 1.364 GB, free: 9.559 MB / 1.061 GB Notification: Performance of SimCode: time 6.62e-07/1.186, allocations: 0 / 1.364 GB, free: 9.559 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/1.224, allocations: 11.67 MB / 1.375 GB, free: 3.465 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/9.313, allocations: 5.359 kB / 1.375 GB, free: 3.461 MB / 1.061 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches