Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 98.8 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.001295/0.001295, allocations: 183.6 kB / 16.92 MB, free: 6.895 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.312/1.312, 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.711/2.711, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 9.312 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001275/0.328, allocations: 0.9977 MB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3294, allocations: 0.8966 MB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.367e-05/0.3294, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.3294, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.3295, allocations: 3.938 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.33, allocations: 150.4 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.356e-05/0.3301, allocations: 19.86 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.3302, allocations: 8 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.3302, allocations: 8 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.916e-05/0.3303, allocations: 11.92 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.3303, allocations: 0 / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.3306, allocations: 187.7 kB / 1.062 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.3306, allocations: 7.922 kB / 1.062 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.3306, allocations: 33.7 kB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.3308, allocations: 100.2 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3308, allocations: 3.984 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3309, allocations: 0 / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.3309, allocations: 4 kB / 1.062 GB, free: 2.547 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003648/0.3312, allocations: 355.5 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3313, allocations: 8.031 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.3314, allocations: 12.92 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3316, allocations: 160.4 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3316, allocations: 384 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3316, allocations: 4.125 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3317, allocations: 41.69 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3317, allocations: 4 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3318, allocations: 4 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3318, allocations: 7.984 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.3318, allocations: 15.94 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.332, allocations: 157.7 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008729/0.3329, allocations: 122.6 kB / 1.063 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.3329, allocations: 24.78 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.3331, allocations: 85.09 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3331, allocations: 38.56 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3331, allocations: 0 / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001864/0.3333, allocations: 65.53 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3334, allocations: 55.41 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.3334, allocations: 93.84 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3335, allocations: 29.7 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.3335, allocations: 80.14 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3335, allocations: 11.84 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.3336, allocations: 13.84 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.3337, allocations: 314.8 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.3337, allocations: 7.984 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.3337, allocations: 8 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.3338, allocations: 24.86 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3338, allocations: 3.938 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.604e-05/0.3339, allocations: 61.56 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3339, allocations: 13.23 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3339, allocations: 0 / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3339, allocations: 4 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.334, allocations: 7.938 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.334, allocations: 0 / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.334, allocations: 7.906 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.334, allocations: 0 / 1.063 GB, free: 0.5 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 (4): * Single equations (assignments): 4 * 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.621e-05/0.3341, allocations: 105.8 kB / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.3341, allocations: 7.938 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3344, allocations: 89.09 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3344, allocations: 0 / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3344, allocations: 0 / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3344, allocations: 4 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.3345, allocations: 157.6 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3345, allocations: 0 / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.3346, allocations: 8 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3346, allocations: 4 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3346, allocations: 4 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3346, allocations: 0 / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3346, allocations: 4 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.3348, allocations: 89 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.3348, allocations: 88.94 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.3348, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.3349, allocations: 4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.3349, allocations: 4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3349, allocations: 11.98 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.816e-05/0.335, allocations: 75.28 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.335, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002694/0.3352, allocations: 40 kB / 1.064 GB, free: 15.71 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 (5): * Single equations (assignments): 5 * 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.0003512/0.3356, allocations: 182.9 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3357, allocations: 27.92 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3357, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.3358, allocations: 15.94 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.3359, allocations: 15.92 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.3362, allocations: 154.3 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.3365, allocations: 0.6809 MB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.3365, allocations: 15.44 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3365, allocations: 0 / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.002577/0.3391, allocations: 1.027 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches