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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008474/0.0008474, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006673/0.006674, allocations: 170 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 443.3 MB / 0.7175 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 12.23 kB / 0.8796 GB, free: 41.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3052, allocations: 155.2 MB / 1.031 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001291/0.3065, allocations: 1.01 MB / 1.032 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.4752, allocations: 143.8 MB / 1.173 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.4753, allocations: 0 / 1.173 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.4753, allocations: 0 / 1.173 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.4754, allocations: 7.922 kB / 1.173 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.4759, allocations: 99.55 kB / 1.173 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.476, allocations: 19.94 kB / 1.173 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.4761, allocations: 0 / 1.173 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.4761, allocations: 11.88 kB / 1.173 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.4762, allocations: 11.98 kB / 1.173 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.4762, allocations: 0 / 1.173 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.4767, allocations: 175.7 kB / 1.173 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.4767, allocations: 0 / 1.173 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.4768, allocations: 33.64 kB / 1.173 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.4771, allocations: 123.9 kB / 1.173 GB, free: 2.523 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4771, allocations: 0 / 1.173 GB, free: 2.523 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4771, allocations: 0 / 1.173 GB, free: 2.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4771, allocations: 0 / 1.173 GB, free: 2.523 MB / 0.92 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.0003741/0.4775, allocations: 351.5 kB / 1.173 GB, free: 2.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4775, allocations: 12.03 kB / 1.173 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.4782, allocations: 36.88 kB / 1.173 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4783, allocations: 164.4 kB / 1.174 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4784, allocations: 3.938 kB / 1.174 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.4784, allocations: 4 kB / 1.174 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.4786, allocations: 49.67 kB / 1.174 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4786, allocations: 0 / 1.174 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4786, allocations: 3.984 kB / 1.174 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4786, allocations: 0 / 1.174 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.4788, allocations: 23.92 kB / 1.174 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.4792, allocations: 252.8 kB / 1.174 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.203e-05/0.4792, allocations: 30.56 kB / 1.174 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.4793, allocations: 8.922 kB / 1.174 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.4793, allocations: 4 kB / 1.174 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4793, allocations: 30.56 kB / 1.174 GB, free: 1.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4793, allocations: 0 / 1.174 GB, free: 1.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.4795, allocations: 41.64 kB / 1.174 GB, free: 1.359 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.4795, allocations: 55.53 kB / 1.174 GB, free: 1.293 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.4797, allocations: 113.8 kB / 1.174 GB, free: 1.172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4797, allocations: 25.7 kB / 1.174 GB, free: 1.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.4798, allocations: 80.14 kB / 1.174 GB, free: 1.059 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.4798, allocations: 11.91 kB / 1.174 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.4799, allocations: 9.719 kB / 1.174 GB, free: 1.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.48, allocations: 314.8 kB / 1.175 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.4801, allocations: 15.98 kB / 1.175 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.4801, allocations: 11.98 kB / 1.175 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.4802, allocations: 20.84 kB / 1.175 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.4802, allocations: 4 kB / 1.175 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001889/0.4804, allocations: 57.61 kB / 1.175 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4804, allocations: 8 kB / 1.175 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4805, allocations: 0 / 1.175 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4805, allocations: 4 kB / 1.175 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4806, allocations: 7.984 kB / 1.175 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4806, allocations: 0 / 1.175 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.4808, allocations: 19.83 kB / 1.175 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4808, allocations: 4.328 kB / 1.175 GB, free: 0.5547 MB / 0.92 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 8.825e-05/0.4809, allocations: 115.3 kB / 1.175 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.4809, allocations: 7.938 kB / 1.175 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.4809, allocations: 11.11 kB / 1.175 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.481, allocations: 3.984 kB / 1.175 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.481, allocations: 0 / 1.175 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.481, allocations: 3.938 kB / 1.175 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4811, allocations: 153.6 kB / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4811, allocations: 0 / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.4812, allocations: 4 kB / 1.175 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4812, allocations: 3.938 kB / 1.175 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.4812, allocations: 3.938 kB / 1.175 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4812, allocations: 4 kB / 1.175 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4812, allocations: 0 / 1.175 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.4813, allocations: 143.5 kB / 1.175 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.4814, allocations: 81.09 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.4814, allocations: 0 / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.4815, allocations: 4 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.4816, allocations: 4.031 kB / 1.175 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4816, allocations: 3.938 kB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.725e-05/0.4817, allocations: 91.27 kB / 1.175 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4817, allocations: 0 / 1.175 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002505/0.4819, allocations: 12 kB / 1.175 GB, free: 15.82 MB / 0.9356 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.0001836/0.4821, allocations: 115.2 kB / 1.175 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.4823, allocations: 27.92 kB / 1.175 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4823, allocations: 0 / 1.175 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.4823, allocations: 4 kB / 1.175 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.4826, allocations: 13.7 kB / 1.175 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.483, allocations: 126.5 kB / 1.176 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4832, allocations: 0.681 MB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.322e-05/0.4833, allocations: 11.94 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.4834, allocations: 11.38 kB / 1.176 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.4834, allocations: 0 / 1.176 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of Templates: time 0.003343/0.4867, allocations: 0.7104 MB / 1.177 GB, free: 14.07 MB / 0.9356 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