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.001173/0.001173, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001381/0.001381, allocations: 198.2 kB / 16.14 MB, free: 6.641 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.8 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.66 kB / 0.8984 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3697, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002607/0.3723, allocations: 1.341 MB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1763/0.5487, allocations: 145.4 MB / 1.195 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.5487, allocations: 0 / 1.195 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.5488, allocations: 0 / 1.195 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.5489, allocations: 15.91 kB / 1.195 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.5495, allocations: 95.56 kB / 1.195 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.21e-05/0.5496, allocations: 23.86 kB / 1.195 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.575e-05/0.5496, allocations: 3.938 kB / 1.195 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.5497, allocations: 4 kB / 1.195 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.5497, allocations: 11.94 kB / 1.195 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5498, allocations: 0 / 1.195 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.5502, allocations: 179.7 kB / 1.196 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.5502, allocations: 7.984 kB / 1.196 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.5503, allocations: 8 kB / 1.196 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.5505, allocations: 112 kB / 1.196 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5505, allocations: 0 / 1.196 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5505, allocations: 0 / 1.196 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5505, allocations: 0 / 1.196 GB, free: 5.117 MB / 0.9512 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.0003831/0.5509, allocations: 351.5 kB / 1.196 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.551, allocations: 8.031 kB / 1.196 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005758/0.5516, allocations: 40.89 kB / 1.196 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.5517, allocations: 172.2 kB / 1.196 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.5517, allocations: 3.938 kB / 1.196 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.5517, allocations: 0 / 1.196 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.5519, allocations: 49.66 kB / 1.196 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.552, allocations: 4 kB / 1.196 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.552, allocations: 0 / 1.196 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.552, allocations: 4 kB / 1.196 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.5521, allocations: 19.91 kB / 1.196 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.5525, allocations: 252.9 kB / 1.197 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.5526, allocations: 26.52 kB / 1.197 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.5526, allocations: 16.91 kB / 1.197 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.5526, allocations: 0 / 1.197 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.5527, allocations: 30.56 kB / 1.197 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5527, allocations: 0 / 1.197 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000159/0.5528, allocations: 45.64 kB / 1.197 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.5529, allocations: 51.41 kB / 1.197 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.5531, allocations: 118 kB / 1.197 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.5531, allocations: 25.7 kB / 1.197 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.5531, allocations: 84.05 kB / 1.197 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.5531, allocations: 0 / 1.197 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.5532, allocations: 25.61 kB / 1.197 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.5533, allocations: 314.8 kB / 1.197 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.5534, allocations: 11.98 kB / 1.197 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-05/0.5535, allocations: 15.98 kB / 1.197 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.5535, allocations: 28.78 kB / 1.197 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5536, allocations: 0 / 1.197 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001817/0.5537, allocations: 57.67 kB / 1.197 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5538, allocations: 8 kB / 1.197 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5538, allocations: 0 / 1.197 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5538, allocations: 4 kB / 1.197 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5539, allocations: 11.98 kB / 1.197 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5539, allocations: 0 / 1.197 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.5541, allocations: 15.86 kB / 1.198 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.5541, allocations: 0 / 1.198 GB, free: 3.133 MB / 0.9512 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.724e-05/0.5542, allocations: 115.4 kB / 1.198 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.5542, allocations: 0 / 1.198 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.5542, allocations: 15.11 kB / 1.198 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5542, allocations: 0 / 1.198 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5543, allocations: 0 / 1.198 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.5543, allocations: 7.938 kB / 1.198 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.5544, allocations: 150 kB / 1.198 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5544, allocations: 4 kB / 1.198 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.5545, allocations: 3.938 kB / 1.198 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.5545, allocations: 0 / 1.198 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.5545, allocations: 0 / 1.198 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5545, allocations: 4 kB / 1.198 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5545, allocations: 0 / 1.198 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.5546, allocations: 147.5 kB / 1.198 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.5547, allocations: 81.02 kB / 1.198 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.5547, allocations: 4 kB / 1.198 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.5548, allocations: 0 / 1.198 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.5548, allocations: 3.938 kB / 1.198 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.5549, allocations: 11.92 kB / 1.198 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.503e-05/0.555, allocations: 95.3 kB / 1.198 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.555, allocations: 0 / 1.198 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002446/0.5552, allocations: 15.94 kB / 1.198 GB, free: 2.398 MB / 0.9512 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.0002019/0.5554, allocations: 115.2 kB / 1.198 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.5556, allocations: 19.98 kB / 1.198 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5556, allocations: 0 / 1.198 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.5556, allocations: 8 kB / 1.198 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.556, allocations: 5.203 kB / 1.198 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.5563, allocations: 120.9 kB / 1.198 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.5566, allocations: 0.6731 MB / 1.199 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.695e-05/0.5567, allocations: 4.062 kB / 1.199 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.5567, allocations: 15.42 kB / 1.199 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.5567, allocations: 4 kB / 1.199 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of Templates: time 0.003053/0.5598, allocations: 0.7119 MB / 1.2 GB, free: 0.6758 MB / 0.9512 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