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.005575/0.005575, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001973/0.001973, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 66.06 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3543, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002994/0.3574, allocations: 1.321 MB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3591, allocations: 0.9198 MB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.3592, allocations: 7.875 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.3592, allocations: 0 / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.3593, allocations: 0 / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.3601, allocations: 150.4 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.3602, allocations: 23.86 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.3602, allocations: 4 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.3603, allocations: 4 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.3603, allocations: 15.92 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3603, allocations: 4 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.3608, allocations: 187.8 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.3608, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.3608, allocations: 4 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.3611, allocations: 108.1 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.3611, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3611, allocations: 4 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3611, allocations: 4 kB / 1.055 GB, free: 5.508 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.0004549/0.3616, allocations: 359.5 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3616, allocations: 12.03 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3619, allocations: 8.922 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.362, allocations: 160.4 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.362, allocations: 384 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.362, allocations: 8.125 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3622, allocations: 45.69 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3622, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3622, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3622, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.3623, allocations: 15.98 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.3624, allocations: 153.7 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.3634, allocations: 134.5 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.3635, allocations: 20.8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.3636, allocations: 89.09 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3637, allocations: 34.56 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.3637, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002067/0.3639, allocations: 65.53 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3639, allocations: 51.41 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.364, allocations: 101.8 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.364, allocations: 29.7 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.3641, allocations: 84.08 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.3641, allocations: 7.844 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.3642, allocations: 17.72 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3643, allocations: 314.8 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/0.3643, allocations: 8 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.3644, allocations: 12.12 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.3644, allocations: 33.05 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3644, allocations: 0 / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.3645, allocations: 69.47 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3646, allocations: 8 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3646, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3646, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.3647, allocations: 4 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3647, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.3647, allocations: 4 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3647, allocations: 4 kB / 1.057 GB, free: 3.445 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.937e-05/0.3648, allocations: 113.8 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.3648, allocations: 7.938 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.3652, allocations: 81.09 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3652, allocations: 4 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3652, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3652, allocations: 4 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.3653, allocations: 161.6 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3653, allocations: 0 / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.3654, allocations: 8 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3654, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3654, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3654, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3654, allocations: 7.984 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3656, allocations: 89.06 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.3656, allocations: 84.95 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3656, allocations: 7.938 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.3657, allocations: 4 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.3657, allocations: 3.984 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3658, allocations: 4.125 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.3658, allocations: 79.22 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3658, allocations: 0 / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002625/0.3661, allocations: 48.09 kB / 1.058 GB, free: 2.648 MB / 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 (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.0004067/0.3665, allocations: 174.3 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.3666, allocations: 27.98 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3666, allocations: 0 / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.3667, allocations: 23.92 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.3668, allocations: 14.61 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.3672, allocations: 146.1 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.3674, allocations: 0.6809 MB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.3675, allocations: 7.438 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3675, allocations: 0 / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.002916/0.3704, allocations: 1.027 MB / 1.06 GB, free: 0.4961 MB / 0.8106 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