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.001533/0.001533, allocations: 105.2 kB / 16.41 MB, free: 6.488 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.001679/0.001679, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001391, allocations: 67.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7463/0.7477, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002091/0.7499, allocations: 1.29 MB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.9091, allocations: 147.6 MB / 1.354 GB, free: 8.152 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.9092, allocations: 0 / 1.354 GB, free: 8.152 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.9092, allocations: 3.938 kB / 1.354 GB, free: 8.148 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.9093, allocations: 15.92 kB / 1.354 GB, free: 8.133 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.9099, allocations: 111.5 kB / 1.354 GB, free: 8.023 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.91, allocations: 27.86 kB / 1.354 GB, free: 7.996 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.91, allocations: 4 kB / 1.354 GB, free: 7.992 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.9101, allocations: 4 kB / 1.354 GB, free: 7.988 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.9101, allocations: 7.938 kB / 1.354 GB, free: 7.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.9101, allocations: 0 / 1.354 GB, free: 7.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.9106, allocations: 183.6 kB / 1.354 GB, free: 7.801 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.9106, allocations: 4 kB / 1.354 GB, free: 7.797 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.9106, allocations: 7.938 kB / 1.354 GB, free: 7.789 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.9109, allocations: 111.5 kB / 1.354 GB, free: 7.684 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9109, allocations: 0 / 1.354 GB, free: 7.684 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9109, allocations: 0 / 1.354 GB, free: 7.684 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.9109, allocations: 0 / 1.354 GB, free: 7.684 MB / 1.076 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.0004195/0.9113, allocations: 349.4 kB / 1.355 GB, free: 7.297 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.9114, allocations: 8.031 kB / 1.355 GB, free: 7.289 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.912, allocations: 48.89 kB / 1.355 GB, free: 7.242 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.9121, allocations: 160.4 kB / 1.355 GB, free: 7.047 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.9121, allocations: 3.938 kB / 1.355 GB, free: 7.043 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.9121, allocations: 4 kB / 1.355 GB, free: 7.039 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.9123, allocations: 49.58 kB / 1.355 GB, free: 6.984 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.9123, allocations: 7.938 kB / 1.355 GB, free: 6.977 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.9124, allocations: 8 kB / 1.355 GB, free: 6.969 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.9124, allocations: 0 / 1.355 GB, free: 6.969 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.9125, allocations: 15.97 kB / 1.355 GB, free: 6.953 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.9129, allocations: 248.9 kB / 1.355 GB, free: 6.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.913, allocations: 22.58 kB / 1.355 GB, free: 6.629 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.913, allocations: 16.91 kB / 1.355 GB, free: 6.609 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.913, allocations: 0 / 1.355 GB, free: 6.609 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.9131, allocations: 42.5 kB / 1.355 GB, free: 6.559 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.9131, allocations: 0 / 1.355 GB, free: 6.559 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001608/0.9132, allocations: 33.7 kB / 1.355 GB, free: 6.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.9133, allocations: 55.41 kB / 1.355 GB, free: 6.453 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.9135, allocations: 118 kB / 1.355 GB, free: 6.328 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.9135, allocations: 25.7 kB / 1.355 GB, free: 6.297 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.9135, allocations: 91.92 kB / 1.356 GB, free: 6.203 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.9136, allocations: 3.906 kB / 1.356 GB, free: 6.199 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.9136, allocations: 21.7 kB / 1.356 GB, free: 6.172 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9137, allocations: 318.8 kB / 1.356 GB, free: 5.852 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.9138, allocations: 7.984 kB / 1.356 GB, free: 5.844 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.9139, allocations: 23.92 kB / 1.356 GB, free: 5.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.749e-05/0.914, allocations: 16.84 kB / 1.356 GB, free: 5.801 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.914, allocations: 0 / 1.356 GB, free: 5.801 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001936/0.9142, allocations: 57.67 kB / 1.356 GB, free: 5.738 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.9142, allocations: 4 kB / 1.356 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9142, allocations: 0 / 1.356 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9142, allocations: 0 / 1.356 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.9144, allocations: 15.98 kB / 1.356 GB, free: 5.719 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.9144, allocations: 0 / 1.356 GB, free: 5.719 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.9145, allocations: 15.92 kB / 1.356 GB, free: 5.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.9145, allocations: 4 kB / 1.356 GB, free: 5.699 MB / 1.076 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.082e-05/0.9146, allocations: 109.8 kB / 1.356 GB, free: 5.582 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.9147, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.9147, allocations: 3.125 kB / 1.356 GB, free: 5.578 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9147, allocations: 8 kB / 1.356 GB, free: 5.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9147, allocations: 3.984 kB / 1.356 GB, free: 5.566 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.9147, allocations: 3.938 kB / 1.356 GB, free: 5.562 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.9149, allocations: 157.6 kB / 1.356 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9149, allocations: 0 / 1.356 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.9149, allocations: 336 / 1.356 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.9149, allocations: 4 kB / 1.356 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.915, allocations: 0 / 1.356 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.915, allocations: 0 / 1.356 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.915, allocations: 7.938 kB / 1.356 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.9151, allocations: 143.5 kB / 1.356 GB, free: 5.191 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.9152, allocations: 81.11 kB / 1.357 GB, free: 5.094 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.9152, allocations: 4 kB / 1.357 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.9153, allocations: 0 / 1.357 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.9153, allocations: 7.938 kB / 1.357 GB, free: 5.082 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.9153, allocations: 3.938 kB / 1.357 GB, free: 5.078 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.246e-05/0.9154, allocations: 95.3 kB / 1.357 GB, free: 4.984 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9154, allocations: 3.938 kB / 1.357 GB, free: 4.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000249/0.9157, allocations: 15.98 kB / 1.357 GB, free: 4.965 MB / 1.076 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.0001859/0.9159, allocations: 111.2 kB / 1.357 GB, free: 4.848 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.916, allocations: 19.97 kB / 1.357 GB, free: 4.828 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.916, allocations: 0 / 1.357 GB, free: 4.828 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.916, allocations: 12 kB / 1.357 GB, free: 4.816 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.9164, allocations: 4 kB / 1.357 GB, free: 4.812 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.9167, allocations: 148.9 kB / 1.357 GB, free: 4.633 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.9169, allocations: 0.6729 MB / 1.358 GB, free: 3.934 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.9169, allocations: 15.42 kB / 1.358 GB, free: 3.922 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.9169, allocations: 0 / 1.358 GB, free: 3.922 MB / 1.076 GB Notification: Performance of Templates: time 0.002186/0.9191, allocations: 0.8128 MB / 1.358 GB, free: 3.113 MB / 1.076 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/jenkins1/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