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.001278/0.001278, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001682/0.001682, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.101/3.101, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003467, allocations: 10.03 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3541, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002096/0.3563, allocations: 0.9862 MB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.358, allocations: 0.8152 MB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.358, allocations: 0 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.3581, allocations: 0 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.3582, allocations: 11.91 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.3589, allocations: 163.9 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.359, allocations: 15.88 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.359, allocations: 3.984 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.3591, allocations: 4 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.3592, allocations: 8 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.3592, allocations: 0 / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.3595, allocations: 188.5 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3596, allocations: 3.984 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.3596, allocations: 25.7 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.3598, allocations: 96.16 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3598, allocations: 0 / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3598, allocations: 0 / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3599, allocations: 0 / 1.06 GB, free: 3.016 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.0005124/0.3604, allocations: 359.3 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3604, allocations: 8.031 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.3606, allocations: 8 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3608, allocations: 171 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3608, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3608, allocations: 8 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3609, allocations: 41.62 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.361, allocations: 3.984 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.361, allocations: 4 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.361, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.3611, allocations: 15.98 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.3613, allocations: 157.7 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.3621, allocations: 126.5 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.3621, allocations: 16.86 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.3622, allocations: 89.05 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3623, allocations: 34.55 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3623, allocations: 0 / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001731/0.3625, allocations: 61.59 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3625, allocations: 55.41 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.3626, allocations: 101.8 kB / 1.061 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3626, allocations: 25.7 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.3626, allocations: 84.12 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3627, allocations: 15.83 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.3627, allocations: 0 / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3628, allocations: 314.8 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.3628, allocations: 4 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.3629, allocations: 19.86 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.3629, allocations: 12.12 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3629, allocations: 0 / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.959e-05/0.363, allocations: 57.64 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.363, allocations: 9.406 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.363, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.363, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.3631, allocations: 8 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3631, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.3632, allocations: 7.906 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.3632, allocations: 0 / 1.062 GB, free: 1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.3632, allocations: 113.8 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.3633, allocations: 11.89 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3635, allocations: 73.17 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3635, allocations: 0 / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3635, allocations: 4 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3635, allocations: 4 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3636, allocations: 153.7 kB / 1.062 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3637, allocations: 0 / 1.062 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.3637, allocations: 8 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3637, allocations: 3.953 kB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3637, allocations: 4.328 kB / 1.062 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3637, allocations: 3.984 kB / 1.062 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3638, allocations: 0 / 1.062 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.3639, allocations: 89.06 kB / 1.062 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.3639, allocations: 92.94 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.364, allocations: 3.953 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.364, allocations: 0 / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.364, allocations: 7.984 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.364, allocations: 0 / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.3641, allocations: 87.22 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3641, allocations: 0 / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002364/0.3643, allocations: 48.09 kB / 1.063 GB, free: 208 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003866/0.3647, allocations: 169.4 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.3648, allocations: 27.92 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3648, allocations: 0 / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.3649, allocations: 15.98 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.3651, allocations: 8 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.3654, allocations: 128.6 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3657, allocations: 0.677 MB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.108e-05/0.3657, allocations: 11.98 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.3658, allocations: 15.38 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3658, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.003706/0.3695, allocations: 1.022 MB / 1.065 GB, free: 14.08 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/jenkins/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