Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.004755/0.004755, allocations: 102.2 kB / 15.73 MB, free: 5.551 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.001159/0.001159, allocations: 196.7 kB / 16.67 MB, free: 5.477 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 67.84 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8121, allocations: 151.6 MB / 1.166 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002396/0.8145, allocations: 1.415 MB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.8155, allocations: 0.5952 MB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.8156, allocations: 0 / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.8156, allocations: 3.938 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.398e-05/0.8157, allocations: 7.938 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.816, allocations: 103.5 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.8161, allocations: 23.88 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.8162, allocations: 7.984 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.8162, allocations: 8 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.8163, allocations: 15.92 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.8163, allocations: 0 / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.8166, allocations: 143.8 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.8166, allocations: 8 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.8166, allocations: 7.938 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.8168, allocations: 107.3 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8169, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8169, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8169, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 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.000459/0.8173, allocations: 355.2 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.8174, allocations: 12.62 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.8174, allocations: 34.75 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.8178, allocations: 36.84 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.8179, allocations: 160.4 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.818, allocations: 384 / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.818, allocations: 4.375 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.8182, allocations: 66.2 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8182, allocations: 7.875 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.8182, allocations: 0 / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8183, allocations: 4 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.8185, allocations: 51.94 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.819, allocations: 268.9 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.8192, allocations: 62.47 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.8193, allocations: 36.89 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.8194, allocations: 0 / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.8194, allocations: 38.61 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 2.786e-06/0.8194, allocations: 7.922 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0004895/0.8199, allocations: 109.6 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.82, allocations: 55.41 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.82, allocations: 106 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.8201, allocations: 25.7 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.8201, allocations: 80.14 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.8202, allocations: 15.89 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.8202, allocations: 21.53 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.8203, allocations: 314.8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.8205, allocations: 23.97 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.8206, allocations: 31.91 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.8208, allocations: 60.8 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8209, allocations: 3.938 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00029/0.8211, allocations: 89.7 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8212, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8212, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.8212, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.8213, allocations: 15.97 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8213, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.8214, allocations: 8.031 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.8215, allocations: 11.98 kB / 1.171 GB, free: 14.93 MB / 0.9044 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 8.019e-05/0.8215, allocations: 113.7 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.8216, allocations: 4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.8216, allocations: 7.125 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8216, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.8216, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8216, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.8218, allocations: 169.6 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8218, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.8219, allocations: 15.98 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8219, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.822, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.822, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.822, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.8223, allocations: 191.4 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.8224, allocations: 77.11 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.8224, allocations: 4 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.8225, allocations: 7.984 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.8226, allocations: 8.031 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.8226, allocations: 11.86 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.8226, allocations: 79.28 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8226, allocations: 3.938 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002292/0.8229, allocations: 15.94 kB / 1.171 GB, free: 14.13 MB / 0.9044 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 (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 Backend phase and start with SimCode phase: time 0.0006989/0.8236, allocations: 0.7241 MB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.8239, allocations: 63.97 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8239, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.824, allocations: 31.91 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.8243, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.8249, allocations: 172.2 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.8252, allocations: 0.6768 MB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.197e-05/0.8252, allocations: 4 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.8253, allocations: 15.44 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8253, allocations: 0 / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6995/1.525, allocations: 1.666 MB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.483/11.01, allocations: 13.73 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches