Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00122/0.00122, allocations: 190.4 kB / 16.25 MB, free: 6.645 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.396/2.396, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8934, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003779/0.8972, allocations: 1.47 MB / 0.9505 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005679/0.8978, allocations: 200.1 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.8979, allocations: 0 / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.8979, allocations: 3.938 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.898, allocations: 1.25 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.8983, allocations: 33.61 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.732e-05/0.8984, allocations: 17.12 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.8986, allocations: 7.703 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.8986, allocations: 11.72 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.8987, allocations: 11.89 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.8987, allocations: 1.406 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.8989, allocations: 27.58 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.8989, allocations: 5.422 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.8989, allocations: 14.95 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.8991, allocations: 34.12 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.8991, allocations: 5.469 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.208e-06/0.8991, allocations: 0 / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.8992, allocations: 0 / 0.9509 GB, free: 7.699 MB / 0.7169 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.0005189/0.8997, allocations: 348 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.8998, allocations: 9.625 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.8999, allocations: 3.688 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.9001, allocations: 169.7 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.9001, allocations: 384 / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.9001, allocations: 1.75 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.9003, allocations: 54.61 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9003, allocations: 192 / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.9004, allocations: 7.922 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.9004, allocations: 0 / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.9005, allocations: 31.22 kB / 0.9515 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.901, allocations: 257.1 kB / 0.9517 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.9011, allocations: 42.88 kB / 0.9518 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.9012, allocations: 23.84 kB / 0.9518 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.9013, allocations: 0 / 0.9518 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.9013, allocations: 31.94 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.9013, allocations: 7.938 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/0.9017, allocations: 83.83 kB / 0.9519 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.9017, allocations: 52.78 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.9018, allocations: 101.9 kB / 0.952 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.9018, allocations: 27.08 kB / 0.9521 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.9019, allocations: 85.52 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.9019, allocations: 8.031 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.9019, allocations: 12.47 kB / 0.9522 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.902, allocations: 320.2 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.9021, allocations: 12.23 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.9022, allocations: 17.61 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.9024, allocations: 44.12 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.9024, allocations: 0 / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.9026, allocations: 68.92 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.9026, allocations: 4.625 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9026, allocations: 3.984 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.9026, allocations: 0.9062 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.9027, allocations: 9.562 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.9027, allocations: 1.125 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.9028, allocations: 16.08 kB / 0.9527 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.9028, allocations: 0 / 0.9527 GB, free: 5.863 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 7.5e-05/0.9029, allocations: 116.2 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.9029, allocations: 4.938 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.9032, allocations: 80.67 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9032, allocations: 4 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9032, allocations: 1.125 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.9032, allocations: 0 / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.9034, allocations: 162.6 kB / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9034, allocations: 1.531 kB / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.9034, allocations: 6.266 kB / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.9035, allocations: 0.7188 kB / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.9035, allocations: 0.5938 kB / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.9035, allocations: 4.734 kB / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9035, allocations: 0 / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.9037, allocations: 173.3 kB / 0.9532 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.9037, allocations: 78.36 kB / 0.9533 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.9038, allocations: 5.875 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.9038, allocations: 6.859 kB / 0.9533 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.9039, allocations: 5.719 kB / 0.9533 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.9039, allocations: 4 kB / 0.9533 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.861e-05/0.9039, allocations: 82.94 kB / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9039, allocations: 0 / 0.9534 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002074/0.9042, allocations: 5.656 kB / 0.9534 GB, free: 5.117 MB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.0001461/0.9043, allocations: 99.58 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.9045, allocations: 38.47 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9045, allocations: 3.938 kB / 0.9535 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.9046, allocations: 29.22 kB / 0.9535 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.905, allocations: 12.91 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.9053, allocations: 121.3 kB / 0.9537 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.9054, allocations: 0.6817 MB / 0.9543 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.9055, allocations: 9.047 kB / 0.9543 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.9055, allocations: 9.25 kB / 0.9543 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9055, allocations: 0 / 0.9543 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of Templates: time 0.002822/0.9083, allocations: 446.2 kB / 0.9548 GB, free: 3.914 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches