Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_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.006589/0.006589, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.001614/0.001614, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.645/2.645, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 63.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2636, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002171/0.2658, allocations: 1.289 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008706/0.2667, allocations: 0.5665 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.2667, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.2667, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.2668, allocations: 7.922 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.2671, allocations: 91.56 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.2672, allocations: 27.81 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.2672, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.2672, allocations: 7.984 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.2673, allocations: 11.98 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.2673, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.2676, allocations: 143.8 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.846e-06/0.2676, allocations: 3.938 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.2676, allocations: 4 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.2678, allocations: 99.64 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2678, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2678, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2678, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003663/0.2682, allocations: 347.3 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2683, allocations: 16.03 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.2683, allocations: 30.75 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.2687, allocations: 24.91 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2688, allocations: 168.3 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.2688, allocations: 384 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.2688, allocations: 4.375 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.269, allocations: 54.22 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.269, allocations: 3.938 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.269, allocations: 3.938 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.269, allocations: 0 / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.2691, allocations: 27.95 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.2693, allocations: 153.7 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.2695, allocations: 46.58 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.2695, allocations: 12.92 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2696, allocations: 3.938 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2696, allocations: 38.55 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2696, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002793/0.2699, allocations: 73.55 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.2699, allocations: 59.39 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.27, allocations: 93.86 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.27, allocations: 29.7 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.2701, allocations: 80.14 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2701, allocations: 3.953 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.2701, allocations: 25.83 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2703, allocations: 310.8 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.2703, allocations: 11.98 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.2704, allocations: 15.98 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2705, allocations: 36.84 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2705, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001718/0.2707, allocations: 53.67 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2707, allocations: 7.938 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2707, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.2708, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.2709, allocations: 11.98 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2709, allocations: 4.031 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.2709, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2709, allocations: 7.984 kB / 1.224 GB, free: 10.1 MB / 0.9825 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.054e-05/0.271, allocations: 106.4 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.271, allocations: 15.83 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.2711, allocations: 7.125 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2711, allocations: 0 / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2711, allocations: 4 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2711, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2712, allocations: 161.7 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2712, allocations: 0 / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.2713, allocations: 7.938 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2713, allocations: 3.938 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2713, allocations: 7.984 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2713, allocations: 0 / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2713, allocations: 7.922 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.2716, allocations: 85.11 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.2716, allocations: 81.09 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2716, allocations: 3.938 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.2717, allocations: 4 kB / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.2717, allocations: 0 / 1.225 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2717, allocations: 3.984 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.2718, allocations: 87.31 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2718, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001845/0.272, allocations: 11.94 kB / 1.225 GB, free: 9.418 MB / 0.9825 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.0005168/0.2725, allocations: 0.6397 MB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.2727, allocations: 23.97 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2727, allocations: 4 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.2728, allocations: 19.92 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.2729, allocations: 16.86 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.2734, allocations: 148 kB / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2737, allocations: 0.6729 MB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.017e-05/0.2737, allocations: 11.94 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.2738, allocations: 11.42 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2738, allocations: 4 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.517/1.791, allocations: 1.581 MB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.88, allocations: 7.688 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches