Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_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_latest_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.006904/0.006903, allocations: 99.77 kB / 15.73 MB, free: 6.047 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.001471/0.001471, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.433/1.433, 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.829/2.829, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.11 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3704, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002221/0.3726, allocations: 1.283 MB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8833/1.256, allocations: 147.6 MB / 1.353 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/1.256, allocations: 1.312 kB / 1.353 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/1.256, allocations: 4.688 kB / 1.353 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/1.256, allocations: 6.688 kB / 1.353 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/1.257, allocations: 117.7 kB / 1.353 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/1.257, allocations: 24.17 kB / 1.353 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/1.257, allocations: 4.078 kB / 1.353 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/1.257, allocations: 8.078 kB / 1.353 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/1.257, allocations: 8.109 kB / 1.353 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/1.257, allocations: 1.312 kB / 1.353 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/1.257, allocations: 173 kB / 1.353 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/1.257, allocations: 0 / 1.353 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/1.257, allocations: 10.16 kB / 1.354 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/1.258, allocations: 115.4 kB / 1.354 GB, free: 14.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.258, allocations: 4 kB / 1.354 GB, free: 14.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/1.258, allocations: 1.281 kB / 1.354 GB, free: 14.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.258, allocations: 0 / 1.354 GB, free: 14.16 MB / 1.061 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.0003478/1.258, allocations: 353.7 kB / 1.354 GB, free: 13.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.258, allocations: 9.844 kB / 1.354 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/1.259, allocations: 43.48 kB / 1.354 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.259, allocations: 162.2 kB / 1.354 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/1.259, allocations: 5.562 kB / 1.354 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/1.259, allocations: 1.406 kB / 1.354 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/1.259, allocations: 43.67 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/1.259, allocations: 1.969 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.259, allocations: 4 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.259, allocations: 1.969 kB / 1.354 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/1.259, allocations: 27.58 kB / 1.354 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/1.26, allocations: 248.2 kB / 1.354 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.29e-05/1.26, allocations: 25.88 kB / 1.355 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/1.26, allocations: 9.016 kB / 1.355 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/1.26, allocations: 1.281 kB / 1.355 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/1.26, allocations: 39.27 kB / 1.355 GB, free: 13.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.26, allocations: 0 / 1.355 GB, free: 13.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/1.26, allocations: 42.12 kB / 1.355 GB, free: 13.15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.26, allocations: 55.41 kB / 1.355 GB, free: 13.08 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.26, allocations: 109.5 kB / 1.355 GB, free: 12.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/1.26, allocations: 25.7 kB / 1.355 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/1.26, allocations: 93.84 kB / 1.355 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.455e-06/1.26, allocations: 5.984 kB / 1.355 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/1.26, allocations: 22.28 kB / 1.355 GB, free: 12.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/1.26, allocations: 317.6 kB / 1.355 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/1.26, allocations: 8.484 kB / 1.355 GB, free: 12.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/1.26, allocations: 9.562 kB / 1.355 GB, free: 12.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/1.26, allocations: 29.36 kB / 1.355 GB, free: 12.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.26, allocations: 2.062 kB / 1.355 GB, free: 12.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001994/1.261, allocations: 57.17 kB / 1.355 GB, free: 12.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.261, allocations: 5.688 kB / 1.355 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.261, allocations: 5.125 kB / 1.355 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/1.261, allocations: 0 / 1.355 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/1.261, allocations: 9.797 kB / 1.355 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.261, allocations: 1.938 kB / 1.355 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/1.261, allocations: 15.14 kB / 1.355 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/1.261, allocations: 6.938 kB / 1.355 GB, free: 12.45 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 (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 6.698e-05/1.261, allocations: 107.7 kB / 1.355 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/1.261, allocations: 1.469 kB / 1.355 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/1.261, allocations: 3.781 kB / 1.355 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.261, allocations: 3.781 kB / 1.355 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.261, allocations: 0 / 1.355 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/1.261, allocations: 9.375 kB / 1.355 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/1.261, allocations: 160.2 kB / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.261, allocations: 0 / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/1.261, allocations: 4.297 kB / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.261, allocations: 0 / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.261, allocations: 1.031 kB / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.261, allocations: 0 / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.261, allocations: 2.844 kB / 1.356 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/1.262, allocations: 143.2 kB / 1.356 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/1.262, allocations: 78.92 kB / 1.356 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/1.262, allocations: 4.656 kB / 1.356 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/1.262, allocations: 3.828 kB / 1.356 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/1.262, allocations: 1.25 kB / 1.356 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/1.262, allocations: 1.031 kB / 1.356 GB, free: 11.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.834e-05/1.262, allocations: 99.02 kB / 1.356 GB, free: 11.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.262, allocations: 0 / 1.356 GB, free: 11.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002706/1.262, allocations: 18.33 kB / 1.356 GB, free: 11.79 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: 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.0001603/1.262, allocations: 112.9 kB / 1.356 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001509/1.262, allocations: 17.11 kB / 1.356 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.262, allocations: 0 / 1.356 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/1.262, allocations: 9.172 kB / 1.356 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/1.263, allocations: 8.625 kB / 1.356 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/1.263, allocations: 119.1 kB / 1.356 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/1.263, allocations: 0.6761 MB / 1.357 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.285e-05/1.263, allocations: 11.23 kB / 1.357 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/1.263, allocations: 9.312 kB / 1.357 GB, free: 10.87 MB / 1.061 GB Notification: Performance of SimCode: time 2.1e-07/1.263, allocations: 0 / 1.357 GB, free: 10.87 MB / 1.061 GB Notification: Performance of Templates: time 0.003181/1.267, allocations: 0.7584 MB / 1.358 GB, free: 10.78 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches