Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_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.001003/0.001003, allocations: 97.39 kB / 16.02 MB, free: 76 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.001226/0.001226, allocations: 183.8 kB / 16.92 MB, free: 6.707 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.797/2.797, allocations: 462.7 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 10.47 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3516, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001821/0.3535, allocations: 1.135 MB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005914/0.3541, allocations: 195.5 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.3542, allocations: 4 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3542, allocations: 0 / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.3543, allocations: 7.922 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3546, allocations: 19.92 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.667e-05/0.3547, allocations: 27.92 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3548, allocations: 7.938 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.424e-05/0.3549, allocations: 11.97 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.355, allocations: 7.938 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.355, allocations: 4 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3551, allocations: 27.97 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3552, allocations: 0 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3552, allocations: 37.64 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.3554, allocations: 20.25 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3554, allocations: 0 / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3554, allocations: 0 / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3554, allocations: 0 / 1.061 GB, free: 3.422 MB / 0.8106 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.000585/0.356, allocations: 351.4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.356, allocations: 12.03 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3562, allocations: 0.9375 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3564, allocations: 176.3 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3564, allocations: 4.312 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3564, allocations: 384 / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3567, allocations: 54.23 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3567, allocations: 192 / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3567, allocations: 15.94 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3567, allocations: 0 / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.3569, allocations: 39.97 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.3574, allocations: 256.8 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3576, allocations: 46.44 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3577, allocations: 32.89 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3577, allocations: 4 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.3577, allocations: 30.56 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.3577, allocations: 0 / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004408/0.3582, allocations: 101.7 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.3583, allocations: 55.34 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3584, allocations: 97.86 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3584, allocations: 25.7 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.3585, allocations: 84.14 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.3585, allocations: 7.891 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3585, allocations: 13.66 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3587, allocations: 318.9 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.3588, allocations: 19.98 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.3589, allocations: 19.98 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3591, allocations: 56.88 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3591, allocations: 0 / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002356/0.3593, allocations: 81.59 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3594, allocations: 7.938 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3594, allocations: 0 / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3594, allocations: 0 / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.3595, allocations: 11.98 kB / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3595, allocations: 0 / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.3596, allocations: 8 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3596, allocations: 4.031 kB / 1.063 GB, free: 1.297 MB / 0.8106 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 9.628e-05/0.3597, allocations: 117.8 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3597, allocations: 3.906 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.36, allocations: 88.95 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.36, allocations: 4.031 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.36, allocations: 4 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3601, allocations: 0 / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3602, allocations: 161.6 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3603, allocations: 0 / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.3603, allocations: 19.92 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3603, allocations: 0 / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3604, allocations: 0 / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3604, allocations: 4 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3604, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.3607, allocations: 175.5 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.3607, allocations: 77.11 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3608, allocations: 4 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.3608, allocations: 15.92 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3609, allocations: 4 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3609, allocations: 4 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.3609, allocations: 79.27 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.361, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000215/0.3612, allocations: 8 kB / 1.063 GB, free: 456 kB / 0.8106 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.0001222/0.3613, allocations: 107.1 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.3615, allocations: 47.95 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3616, allocations: 0 / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.3617, allocations: 28.05 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.362, allocations: 7.938 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.3623, allocations: 166.2 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3626, allocations: 0.6731 MB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.3626, allocations: 7.438 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3626, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.002191/0.3648, allocations: 0.5811 MB / 1.065 GB, free: 14.76 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches