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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006298/0.006298, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001341/0.001341, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.49/1.49, 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 9.1.3-maint.9.1.x/package.mo): time 2.59/2.59, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 63.91 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3834, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002697/0.3862, allocations: 1.296 MB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1962/0.5824, allocations: 147.6 MB / 1.233 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.5825, allocations: 0 / 1.233 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.5826, allocations: 0 / 1.233 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.5827, allocations: 3.938 kB / 1.233 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.5834, allocations: 127.4 kB / 1.233 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.697e-05/0.5835, allocations: 19.86 kB / 1.234 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.218e-05/0.5836, allocations: 3.984 kB / 1.234 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.5836, allocations: 7.938 kB / 1.234 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.5837, allocations: 8 kB / 1.234 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.5837, allocations: 4 kB / 1.234 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005992/0.5843, allocations: 167.7 kB / 1.234 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.5844, allocations: 3.938 kB / 1.234 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.5844, allocations: 8 kB / 1.234 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.5848, allocations: 115.6 kB / 1.234 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5848, allocations: 0 / 1.234 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5848, allocations: 4 kB / 1.234 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.5848, allocations: 0 / 1.234 GB, free: 11.52 MB / 0.9981 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.0005574/0.5854, allocations: 355.2 kB / 1.234 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.5854, allocations: 12.02 kB / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007588/0.5862, allocations: 32.89 kB / 1.234 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.5864, allocations: 172.3 kB / 1.234 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5864, allocations: 7.938 kB / 1.234 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.5865, allocations: 0 / 1.234 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.5867, allocations: 53.59 kB / 1.234 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.5867, allocations: 0 / 1.234 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.5867, allocations: 0 / 1.234 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5868, allocations: 0 / 1.234 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.5869, allocations: 15.98 kB / 1.234 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.5875, allocations: 256.9 kB / 1.235 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.5875, allocations: 26.52 kB / 1.235 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.5876, allocations: 12.92 kB / 1.235 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.5876, allocations: 0 / 1.235 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.5876, allocations: 34.56 kB / 1.235 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5876, allocations: 0 / 1.235 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.5879, allocations: 49.64 kB / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.5879, allocations: 51.41 kB / 1.235 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.5881, allocations: 109.8 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.5881, allocations: 25.7 kB / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.5882, allocations: 84.14 kB / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.5882, allocations: 3.953 kB / 1.235 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.5883, allocations: 25.83 kB / 1.235 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5885, allocations: 318.8 kB / 1.235 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.5886, allocations: 15.98 kB / 1.235 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.5887, allocations: 4 kB / 1.235 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.5888, allocations: 24.84 kB / 1.235 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5888, allocations: 0 / 1.235 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002348/0.589, allocations: 61.94 kB / 1.235 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5891, allocations: 8 kB / 1.236 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5891, allocations: 3.938 kB / 1.236 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.5891, allocations: 4.031 kB / 1.236 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5893, allocations: 11.98 kB / 1.236 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.5893, allocations: 0 / 1.236 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.5895, allocations: 19.89 kB / 1.236 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.5895, allocations: 3.984 kB / 1.236 GB, free: 9.523 MB / 0.9981 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 9.908e-05/0.5896, allocations: 109.8 kB / 1.236 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.5896, allocations: 0 / 1.236 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.5897, allocations: 7.125 kB / 1.236 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5897, allocations: 0 / 1.236 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5897, allocations: 0 / 1.236 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5897, allocations: 11.81 kB / 1.236 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.5899, allocations: 149.7 kB / 1.236 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5899, allocations: 4 kB / 1.236 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.59, allocations: 4 kB / 1.236 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.59, allocations: 0 / 1.236 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.59, allocations: 0 / 1.236 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.59, allocations: 0 / 1.236 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.59, allocations: 4 kB / 1.236 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.5901, allocations: 143.4 kB / 1.236 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.5902, allocations: 77.11 kB / 1.236 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.5902, allocations: 4.031 kB / 1.236 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.5904, allocations: 7.984 kB / 1.236 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.5904, allocations: 0 / 1.236 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.5904, allocations: 3.938 kB / 1.236 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001187/0.5905, allocations: 91.27 kB / 1.236 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5905, allocations: 0 / 1.236 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003573/0.5909, allocations: 15.94 kB / 1.236 GB, free: 8.809 MB / 0.9981 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.0002191/0.5911, allocations: 115.7 kB / 1.236 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.5913, allocations: 19.98 kB / 1.236 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5914, allocations: 4 kB / 1.236 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.817e-05/0.5914, allocations: 7.938 kB / 1.236 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.5919, allocations: 7.984 kB / 1.236 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.5923, allocations: 128.8 kB / 1.236 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.5927, allocations: 0.6768 MB / 1.237 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.703e-05/0.5928, allocations: 7.938 kB / 1.237 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.5928, allocations: 11.44 kB / 1.237 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.5928, allocations: 0 / 1.237 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.003846/0.5967, allocations: 0.7434 MB / 1.238 GB, free: 7.035 MB / 0.9981 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/jenkins/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