Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005334/0.005334, allocations: 100.2 kB / 15.87 MB, free: 6.297 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.0013/0.0013, allocations: 205.1 kB / 16.8 MB, free: 6.223 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6443/0.6458, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002369/0.6482, allocations: 1.354 MB / 0.9509 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.162/0.8102, allocations: 145.3 MB / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.8103, allocations: 0 / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.8104, allocations: 0 / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.8105, allocations: 7.938 kB / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.8111, allocations: 99.55 kB / 1.093 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.8112, allocations: 11.94 kB / 1.093 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.8112, allocations: 4 kB / 1.093 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.8113, allocations: 15.92 kB / 1.093 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.8113, allocations: 7.938 kB / 1.093 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.8114, allocations: 3.984 kB / 1.093 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006785/0.8121, allocations: 175.7 kB / 1.093 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.8121, allocations: 0 / 1.093 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.8121, allocations: 11.94 kB / 1.093 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.8124, allocations: 77.83 kB / 1.093 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.8124, allocations: 0 / 1.093 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8125, allocations: 0 / 1.093 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8125, allocations: 4 kB / 1.093 GB, free: 14.5 MB / 0.8575 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.000479/0.813, allocations: 355.4 kB / 1.094 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.813, allocations: 12.03 kB / 1.094 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008479/0.8139, allocations: 32.89 kB / 1.094 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.8141, allocations: 164.4 kB / 1.094 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.8141, allocations: 15.88 kB / 1.094 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.8141, allocations: 0 / 1.094 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.8143, allocations: 49.66 kB / 1.094 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8144, allocations: 0 / 1.094 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8144, allocations: 0 / 1.094 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.8144, allocations: 3.938 kB / 1.094 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.8145, allocations: 15.98 kB / 1.094 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.8149, allocations: 260.8 kB / 1.094 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.815, allocations: 26.52 kB / 1.094 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.815, allocations: 12.92 kB / 1.094 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.815, allocations: 0 / 1.094 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.8151, allocations: 30.56 kB / 1.094 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.8151, allocations: 4 kB / 1.094 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001722/0.8152, allocations: 41.69 kB / 1.094 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.8153, allocations: 55.41 kB / 1.094 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.8155, allocations: 109.8 kB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.8155, allocations: 25.7 kB / 1.094 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.8156, allocations: 84.08 kB / 1.094 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.8156, allocations: 15.89 kB / 1.095 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.8156, allocations: 21.83 kB / 1.095 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8158, allocations: 318.7 kB / 1.095 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.8158, allocations: 11.98 kB / 1.095 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.923e-05/0.8159, allocations: 11.98 kB / 1.095 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.816, allocations: 16.86 kB / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.816, allocations: 4 kB / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.8162, allocations: 61.66 kB / 1.095 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8163, allocations: 4 kB / 1.095 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.8163, allocations: 0 / 1.095 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.8163, allocations: 4 kB / 1.095 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.8164, allocations: 15.92 kB / 1.095 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8164, allocations: 0 / 1.095 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.8166, allocations: 15.84 kB / 1.095 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.8166, allocations: 7.984 kB / 1.095 GB, free: 12.51 MB / 0.8575 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 (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 prepare postOptimizeDAE: time 7.713e-05/0.8167, allocations: 105.8 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.8167, allocations: 4.328 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.8168, allocations: 7.125 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8168, allocations: 3.984 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8168, allocations: 0 / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8168, allocations: 3.938 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.8169, allocations: 149.7 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.817, allocations: 0 / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.817, allocations: 11.94 kB / 1.095 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.817, allocations: 3.984 kB / 1.095 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.817, allocations: 4 kB / 1.095 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.817, allocations: 0 / 1.095 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.817, allocations: 0 / 1.095 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.8172, allocations: 139.4 kB / 1.095 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.8172, allocations: 81.09 kB / 1.095 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.8172, allocations: 0 / 1.095 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.8174, allocations: 8.031 kB / 1.095 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.8174, allocations: 0 / 1.095 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.8174, allocations: 3.938 kB / 1.095 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.8175, allocations: 91.27 kB / 1.096 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8175, allocations: 0 / 1.096 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002513/0.8177, allocations: 16 kB / 1.096 GB, free: 11.79 MB / 0.8575 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.0001739/0.8179, allocations: 115.2 kB / 1.096 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.8181, allocations: 19.98 kB / 1.096 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8181, allocations: 0 / 1.096 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.8181, allocations: 7.938 kB / 1.096 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.8184, allocations: 15.86 kB / 1.096 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.8188, allocations: 150.6 kB / 1.096 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.8191, allocations: 0.6809 MB / 1.097 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.8192, allocations: 11.44 kB / 1.097 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.8192, allocations: 0 / 1.097 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.002378/0.8216, allocations: 0.8052 MB / 1.097 GB, free: 9.93 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches