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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001016/0.001016, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001455, allocations: 183 kB / 16.92 MB, free: 6.922 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 12.28 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6983, allocations: 142.4 MB / 0.9557 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001288/0.6996, allocations: 1.132 MB / 0.9568 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.7001, allocations: 195.5 kB / 0.957 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.7001, allocations: 0.9062 kB / 0.957 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.7002, allocations: 3.938 kB / 0.957 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.7002, allocations: 9.547 kB / 0.957 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.7004, allocations: 23.66 kB / 0.957 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.7005, allocations: 18.16 kB / 0.9571 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.7006, allocations: 6.859 kB / 0.9571 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.7006, allocations: 11.2 kB / 0.9571 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.7006, allocations: 11.36 kB / 0.9571 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.7007, allocations: 1.25 kB / 0.9571 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.7007, allocations: 27.3 kB / 0.9571 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.7008, allocations: 8 kB / 0.9571 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.7008, allocations: 32.67 kB / 0.9571 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.426e-05/0.7009, allocations: 28.34 kB / 0.9572 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7009, allocations: 0 / 0.9572 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7009, allocations: 1.406 kB / 0.9572 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.7009, allocations: 0 / 0.9572 GB, free: 6.883 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.000354/0.7013, allocations: 341.2 kB / 0.9575 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.7013, allocations: 12.69 kB / 0.9575 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.7014, allocations: 7.516 kB / 0.9575 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.197e-05/0.7015, allocations: 170.5 kB / 0.9577 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.7015, allocations: 384 / 0.9577 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.7016, allocations: 5.594 kB / 0.9577 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.7017, allocations: 51.48 kB / 0.9577 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.7017, allocations: 192 / 0.9577 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.7018, allocations: 7.938 kB / 0.9577 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7018, allocations: 5 kB / 0.9577 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.702, allocations: 48.28 kB / 0.9578 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.7022, allocations: 249.5 kB / 0.958 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.7024, allocations: 51.08 kB / 0.9581 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.7025, allocations: 27.69 kB / 0.9581 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.7025, allocations: 1.062 kB / 0.9581 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.7025, allocations: 35.72 kB / 0.9581 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7025, allocations: 3.938 kB / 0.9581 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003448/0.7029, allocations: 102.8 kB / 0.9582 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.7029, allocations: 52.34 kB / 0.9583 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.547e-05/0.703, allocations: 102.7 kB / 0.9584 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.703, allocations: 26.83 kB / 0.9584 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.703, allocations: 81.14 kB / 0.9585 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.703, allocations: 8.906 kB / 0.9585 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.703, allocations: 9.719 kB / 0.9585 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.7031, allocations: 312 kB / 0.9588 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.7032, allocations: 21.8 kB / 0.9588 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.7033, allocations: 26.84 kB / 0.9589 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.7034, allocations: 49.61 kB / 0.9589 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7034, allocations: 0 / 0.9589 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.7036, allocations: 85.59 kB / 0.959 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.7037, allocations: 5.156 kB / 0.959 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7037, allocations: 1.406 kB / 0.959 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.7037, allocations: 0 / 0.959 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.7038, allocations: 12.58 kB / 0.959 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.7038, allocations: 0 / 0.959 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.7039, allocations: 6.406 kB / 0.959 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.7039, allocations: 12.98 kB / 0.959 GB, free: 5.043 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 4.933e-05/0.7039, allocations: 119.8 kB / 0.9591 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.704, allocations: 1.031 kB / 0.9591 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.7042, allocations: 90.06 kB / 0.9592 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7042, allocations: 4 kB / 0.9592 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7042, allocations: 1.531 kB / 0.9592 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7042, allocations: 3.984 kB / 0.9592 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.7044, allocations: 163.7 kB / 0.9594 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7044, allocations: 0 / 0.9594 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.7044, allocations: 13.95 kB / 0.9594 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.7045, allocations: 0 / 0.9594 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.7045, allocations: 0 / 0.9594 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.7045, allocations: 1.188 kB / 0.9594 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7045, allocations: 4 kB / 0.9594 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.7047, allocations: 174.7 kB / 0.9596 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.7047, allocations: 79.14 kB / 0.9596 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.7047, allocations: 7.984 kB / 0.9597 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.7048, allocations: 11.47 kB / 0.9597 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.7049, allocations: 3.984 kB / 0.9597 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.7049, allocations: 5.25 kB / 0.9597 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.137e-05/0.7049, allocations: 78.94 kB / 0.9598 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7049, allocations: 0 / 0.9598 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002186/0.7051, allocations: 8.469 kB / 0.9598 GB, free: 4.293 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 9.272e-05/0.7052, allocations: 104.9 kB / 0.9599 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.7055, allocations: 47.16 kB / 0.9599 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7055, allocations: 1.344 kB / 0.9599 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.7056, allocations: 28.88 kB / 0.9599 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.7058, allocations: 11.41 kB / 0.9599 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.7061, allocations: 161.8 kB / 0.9601 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.9e-05/0.7062, allocations: 0.6814 MB / 0.9608 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.7062, allocations: 8.531 kB / 0.9608 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7062, allocations: 0 / 0.9608 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of Templates: time 0.001696/0.7079, allocations: 0.5755 MB / 0.9613 GB, free: 2.996 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches