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.0009387/0.0009388, 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.007561/0.007561, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.878/2.878, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 12.78 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4152, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001922/0.4172, allocations: 1.013 MB / 1.06 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2056/0.6228, allocations: 143.8 MB / 1.2 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.6229, allocations: 0 / 1.2 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.6229, allocations: 3.938 kB / 1.2 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.623, allocations: 3.938 kB / 1.2 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.6234, allocations: 103.5 kB / 1.2 GB, free: 4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.6235, allocations: 19.88 kB / 1.2 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.6236, allocations: 4 kB / 1.2 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.6236, allocations: 7.938 kB / 1.2 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.6237, allocations: 11.97 kB / 1.2 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.6237, allocations: 0 / 1.2 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.6241, allocations: 175.7 kB / 1.2 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.6242, allocations: 3.938 kB / 1.2 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.6242, allocations: 29.7 kB / 1.2 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.6244, allocations: 120 kB / 1.201 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6244, allocations: 4 kB / 1.201 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6244, allocations: 0 / 1.201 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.6245, allocations: 0 / 1.201 GB, free: 3.625 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.0003794/0.6248, allocations: 339.5 kB / 1.201 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6249, allocations: 8.031 kB / 1.201 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.6254, allocations: 40.89 kB / 1.201 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.6256, allocations: 176.2 kB / 1.201 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.6256, allocations: 15.88 kB / 1.201 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.6256, allocations: 0 / 1.201 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.6258, allocations: 45.61 kB / 1.201 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6258, allocations: 0 / 1.201 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.6259, allocations: 3.984 kB / 1.201 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.6259, allocations: 4 kB / 1.201 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.626, allocations: 19.98 kB / 1.201 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.6264, allocations: 248.9 kB / 1.201 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.738e-05/0.6265, allocations: 26.56 kB / 1.201 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.6265, allocations: 8.922 kB / 1.201 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.6265, allocations: 3.938 kB / 1.201 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.6265, allocations: 34.56 kB / 1.201 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6265, allocations: 0 / 1.201 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.6267, allocations: 41.7 kB / 1.202 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.6268, allocations: 55.39 kB / 1.202 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.6269, allocations: 109.8 kB / 1.202 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.6269, allocations: 25.7 kB / 1.202 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.627, allocations: 88.27 kB / 1.202 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.627, allocations: 3.906 kB / 1.202 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.627, allocations: 9.719 kB / 1.202 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6271, allocations: 322.8 kB / 1.202 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.6272, allocations: 8 kB / 1.202 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.6273, allocations: 15.92 kB / 1.202 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.6274, allocations: 24.84 kB / 1.202 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6274, allocations: 3.938 kB / 1.202 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001825/0.6276, allocations: 61.86 kB / 1.202 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6276, allocations: 4 kB / 1.202 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6276, allocations: 0 / 1.202 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.6276, allocations: 0 / 1.202 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.6277, allocations: 11.98 kB / 1.202 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6277, allocations: 3.984 kB / 1.202 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.6279, allocations: 15.97 kB / 1.202 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.6279, allocations: 3.984 kB / 1.202 GB, free: 1.652 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.101e-05/0.628, allocations: 113.8 kB / 1.202 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.628, allocations: 3.984 kB / 1.202 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.6281, allocations: 7.125 kB / 1.202 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6281, allocations: 7.938 kB / 1.202 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6281, allocations: 0 / 1.202 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6281, allocations: 3.938 kB / 1.202 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.6282, allocations: 157.7 kB / 1.203 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6282, allocations: 0 / 1.203 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.6283, allocations: 0 / 1.203 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6283, allocations: 4 kB / 1.203 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.6283, allocations: 0 / 1.203 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.6283, allocations: 0 / 1.203 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6283, allocations: 0 / 1.203 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.6284, allocations: 139.5 kB / 1.203 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.6285, allocations: 89 kB / 1.203 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.6285, allocations: 0 / 1.203 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.6286, allocations: 3.938 kB / 1.203 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.6287, allocations: 4 kB / 1.203 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.6287, allocations: 3.938 kB / 1.203 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001073/0.6288, allocations: 91.27 kB / 1.203 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6288, allocations: 0 / 1.203 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002571/0.629, allocations: 15.94 kB / 1.203 GB, free: 0.9297 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.0002137/0.6293, allocations: 115.3 kB / 1.203 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.6294, allocations: 19.98 kB / 1.203 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6294, allocations: 0 / 1.203 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.6295, allocations: 4 kB / 1.203 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.6298, allocations: 14.7 kB / 1.203 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.6302, allocations: 138.6 kB / 1.203 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.6305, allocations: 0.6809 MB / 1.204 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.65e-05/0.6306, allocations: 11.94 kB / 1.204 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.6306, allocations: 7.438 kB / 1.204 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.6306, allocations: 0 / 1.204 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.003313/0.6339, allocations: 0.7116 MB / 1.205 GB, free: 15.17 MB / 0.9669 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