Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001315/0.001315, allocations: 192.4 kB / 16.14 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.7 MB / 0.7447 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 64.03 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4206, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003365/0.4241, allocations: 1.35 MB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.4254, allocations: 0.5804 MB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.4254, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.4255, allocations: 4 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.4256, allocations: 15.86 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.426, allocations: 75.7 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.4261, allocations: 19.88 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.4261, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.4262, allocations: 4 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.4262, allocations: 7.984 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.4263, allocations: 3.938 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.4267, allocations: 159.7 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.4267, allocations: 3.938 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.4267, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.427, allocations: 96.05 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.427, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.427, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.4271, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005137/0.4276, allocations: 347.5 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4276, allocations: 12.03 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000642/0.4283, allocations: 36.81 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.4284, allocations: 160.4 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.4285, allocations: 384 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.4285, allocations: 384 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.4287, allocations: 50.22 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4287, allocations: 192 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.4288, allocations: 11.94 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4288, allocations: 0 / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.429, allocations: 23.97 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.4292, allocations: 161.6 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.4295, allocations: 46.48 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4296, allocations: 16.92 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.4296, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4297, allocations: 34.55 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4297, allocations: 0 / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000461/0.4301, allocations: 77.64 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.4302, allocations: 55.39 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.4303, allocations: 97.86 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.4303, allocations: 25.7 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.4304, allocations: 80.14 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.4304, allocations: 7.906 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.4305, allocations: 17.7 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4306, allocations: 314.8 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.4308, allocations: 12.02 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.4309, allocations: 15.98 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.4311, allocations: 24.84 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4311, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002967/0.4314, allocations: 69.67 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4314, allocations: 4 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4314, allocations: 3.938 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4315, allocations: 0 / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.4316, allocations: 7.984 kB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4317, allocations: 4 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.4318, allocations: 3.938 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4318, allocations: 11.95 kB / 1.071 GB, free: 6.57 MB / 0.8262 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 0.0001/0.4319, allocations: 111.6 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.4319, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.432, allocations: 11.06 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.432, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.432, allocations: 4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.432, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.4322, allocations: 157.6 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4322, allocations: 7.984 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.4323, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4323, allocations: 3.938 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.4324, allocations: 7.922 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4324, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4324, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.4327, allocations: 89.23 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.4328, allocations: 89.08 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.4329, allocations: 3.938 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.433, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.433, allocations: 4 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.433, allocations: 3.984 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.4331, allocations: 79.28 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4331, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003767/0.4335, allocations: 16.03 kB / 1.072 GB, free: 5.891 MB / 0.8262 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.0002356/0.4337, allocations: 111.2 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.434, allocations: 27.97 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4341, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4342, allocations: 23.98 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.4346, allocations: 6.281 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.4351, allocations: 116.4 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.4354, allocations: 0.6809 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.4356, allocations: 16 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.4356, allocations: 7.438 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4357, allocations: 4 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of Templates: time 0.003918/0.4396, allocations: 0.7122 MB / 1.074 GB, free: 4.137 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches