Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.007594/0.007594, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001872/0.001872, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 56.12 kB / 1.054 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8734/0.8748, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003119/0.8779, allocations: 1.417 MB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.8785, allocations: 203.4 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.8786, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.8786, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.8787, allocations: 7.922 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.879, allocations: 23.91 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.8791, allocations: 27.92 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.8792, allocations: 4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.8793, allocations: 19.86 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.8793, allocations: 8 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.8793, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.8795, allocations: 31.97 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.8795, allocations: 3.938 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.8795, allocations: 11.98 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.8797, allocations: 34.16 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.8797, allocations: 4 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8797, allocations: 0 / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.8797, allocations: 0 / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005238/0.8802, allocations: 343.4 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.8803, allocations: 12.03 kB / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.8803, allocations: 34.73 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.8805, allocations: 4.938 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.8806, allocations: 164.4 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.8807, allocations: 384 / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.8807, allocations: 4.375 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.8809, allocations: 50.23 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8809, allocations: 11.81 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.8809, allocations: 0 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8809, allocations: 0 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.8811, allocations: 35.95 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.8815, allocations: 244.9 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.8817, allocations: 46.52 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.345e-05/0.8818, allocations: 24.91 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.8818, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8818, allocations: 34.5 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8819, allocations: 4 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003849/0.8822, allocations: 85.55 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.8823, allocations: 51.41 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.8824, allocations: 97.84 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.8824, allocations: 29.7 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.8825, allocations: 84.14 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.8825, allocations: 8.031 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.8825, allocations: 17.66 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8826, allocations: 314.8 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.8827, allocations: 15.97 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.8828, allocations: 23.92 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.883, allocations: 36.89 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.883, allocations: 3.938 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.8832, allocations: 65.66 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.8832, allocations: 4 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8832, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.8833, allocations: 4 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.8834, allocations: 7.984 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8834, allocations: 4.031 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.8834, allocations: 11.92 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.8835, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 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 (2): * Single equations (assignments): 2 * 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 7.745e-05/0.8835, allocations: 121.7 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.8836, allocations: 0 / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.8838, allocations: 76.77 kB / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8839, allocations: 4 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8839, allocations: 0 / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.8839, allocations: 0 / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.884, allocations: 169.5 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8841, allocations: 0 / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.8841, allocations: 11.98 kB / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.8841, allocations: 0 / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.8842, allocations: 0 / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8842, allocations: 0 / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.8842, allocations: 4 kB / 1.211 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.8844, allocations: 183.3 kB / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.8845, allocations: 77.11 kB / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.8845, allocations: 0 / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.8846, allocations: 4 kB / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.8846, allocations: 7.984 kB / 1.211 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.8846, allocations: 4 kB / 1.211 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.8847, allocations: 79.28 kB / 1.211 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8847, allocations: 4 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002234/0.8849, allocations: 4 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005149/0.8854, allocations: 0.705 MB / 1.212 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.8857, allocations: 43.98 kB / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8857, allocations: 0 / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.8858, allocations: 15.98 kB / 1.212 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.8861, allocations: 14.94 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.8866, allocations: 156.1 kB / 1.212 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.8868, allocations: 0.6768 MB / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.8868, allocations: 0 / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.8869, allocations: 22.3 kB / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8869, allocations: 0 / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.9052, allocations: 1.378 MB / 1.214 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/8.433, allocations: 12.69 kB / 1.214 GB, free: 5.934 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches