Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.0008583/0.0008622, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.00602/0.00602, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9815/0.9819, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001281/0.9832, allocations: 1.008 MB / 0.956 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.9845, allocations: 0.8773 MB / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.9846, allocations: 0 / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.9846, allocations: 3.984 kB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.9847, allocations: 9.016 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.9853, allocations: 151.9 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.911e-05/0.9853, allocations: 20.84 kB / 0.9571 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.9854, allocations: 6.297 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.9854, allocations: 4.25 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.9855, allocations: 6.656 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.9855, allocations: 1.25 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.9859, allocations: 198.5 kB / 0.9573 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.9859, allocations: 3.984 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.9859, allocations: 34.36 kB / 0.9573 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.9862, allocations: 146.2 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9862, allocations: 4 kB / 0.9574 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9862, allocations: 0 / 0.9574 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.9862, allocations: 0 / 0.9574 GB, free: 5.863 MB / 0.7169 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.0003447/0.9866, allocations: 361.3 kB / 0.9578 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.9866, allocations: 9.5 kB / 0.9578 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.9868, allocations: 8.672 kB / 0.9578 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.9869, allocations: 166.3 kB / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.9869, allocations: 384 / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.9869, allocations: 6.125 kB / 0.958 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.987, allocations: 45.31 kB / 0.958 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.987, allocations: 0 / 0.958 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.987, allocations: 7.938 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.9871, allocations: 0 / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.9871, allocations: 17.14 kB / 0.958 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.9872, allocations: 155 kB / 0.9582 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.9881, allocations: 125.6 kB / 0.9583 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.9881, allocations: 21.36 kB / 0.9583 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/0.9882, allocations: 90.03 kB / 0.9584 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.9883, allocations: 36.34 kB / 0.9584 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9883, allocations: 0 / 0.9584 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001672/0.9884, allocations: 57.16 kB / 0.9585 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.9885, allocations: 51.41 kB / 0.9585 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.182e-05/0.9885, allocations: 99.19 kB / 0.9586 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.9885, allocations: 27.23 kB / 0.9587 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/0.9886, allocations: 88.27 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.9886, allocations: 9.594 kB / 0.9588 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.9886, allocations: 11.53 kB / 0.9588 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.9887, allocations: 314.8 kB / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.9887, allocations: 9.484 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.9887, allocations: 7.531 kB / 0.9591 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.9888, allocations: 24.14 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9888, allocations: 1.781 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.072e-05/0.9889, allocations: 59.98 kB / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.9889, allocations: 13.25 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9889, allocations: 3.984 kB / 0.9592 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.9889, allocations: 5.719 kB / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.989, allocations: 9.406 kB / 0.9592 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.989, allocations: 0 / 0.9592 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.989, allocations: 5.75 kB / 0.9592 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.989, allocations: 0 / 0.9592 GB, free: 4.027 MB / 0.7169 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 5.091e-05/0.9891, allocations: 107.6 kB / 0.9593 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.9891, allocations: 9.781 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.9893, allocations: 82.16 kB / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9893, allocations: 1.281 kB / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9894, allocations: 0 / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.9894, allocations: 1.156 kB / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.504e-05/0.9895, allocations: 163 kB / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9895, allocations: 10.97 kB / 0.9596 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.9895, allocations: 9.438 kB / 0.9596 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.9895, allocations: 0 / 0.9596 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.9896, allocations: 5.375 kB / 0.9596 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.9896, allocations: 0 / 0.9596 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9896, allocations: 0 / 0.9596 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.9897, allocations: 85.69 kB / 0.9597 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.9897, allocations: 83.84 kB / 0.9597 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.9897, allocations: 4 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.608e-05/0.9898, allocations: 1.375 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.9898, allocations: 1.375 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.9898, allocations: 2.75 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.758e-05/0.9898, allocations: 83.27 kB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.62e-07/0.9898, allocations: 1.375 kB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002582/0.9901, allocations: 47.69 kB / 0.9599 GB, free: 3.34 MB / 0.7169 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.0003576/0.9905, allocations: 171.8 kB / 0.96 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.9906, allocations: 27.11 kB / 0.9601 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9906, allocations: 5.312 kB / 0.9601 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.9906, allocations: 13.62 kB / 0.9601 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.9908, allocations: 14.67 kB / 0.9601 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.9911, allocations: 141.4 kB / 0.9602 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.9912, allocations: 0.6783 MB / 0.9609 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.33e-05/0.9913, allocations: 5.344 kB / 0.9609 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.9913, allocations: 14.34 kB / 0.9609 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.9914, allocations: 3.938 kB / 0.9609 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.003786/0.9951, allocations: 1.032 MB / 0.9619 GB, free: 1.805 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches