Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.00158, allocations: 100.1 kB / 15.88 MB, free: 12 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.001836/0.001836, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7413, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002154/0.7435, allocations: 1.318 MB / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005286/0.7441, allocations: 298.5 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.7441, allocations: 0 / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.7441, allocations: 0 / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.7442, allocations: 5.359 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.7444, allocations: 46.77 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.536e-05/0.7445, allocations: 16.17 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.7445, allocations: 5.375 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.7446, allocations: 16.05 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.7446, allocations: 4.125 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.7446, allocations: 0 / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.7447, allocations: 56.81 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.7448, allocations: 1.375 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.7448, allocations: 10.69 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.803e-05/0.7449, allocations: 34.56 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7449, allocations: 0 / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7449, allocations: 7.922 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.7449, allocations: 4 kB / 0.9514 GB, free: 7.766 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.0003077/0.7452, allocations: 339.8 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7453, allocations: 9.625 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.7455, allocations: 15.92 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.087e-05/0.7456, allocations: 160.4 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.7456, allocations: 1.75 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.7456, allocations: 5.75 kB / 0.9519 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.7457, allocations: 53.05 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.7457, allocations: 192 / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.7457, allocations: 9.312 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7458, allocations: 3.938 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.7458, allocations: 13.62 kB / 0.9519 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.7459, allocations: 153.8 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.7479, allocations: 269.7 kB / 0.9523 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.748, allocations: 29.14 kB / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.748, allocations: 0 / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.748, allocations: 31.81 kB / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.748, allocations: 0 / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001694/0.7482, allocations: 69 kB / 0.9525 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.7482, allocations: 52.66 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.202e-05/0.7483, allocations: 91.14 kB / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.7483, allocations: 29.7 kB / 0.9526 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.115e-05/0.7483, allocations: 81.42 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.7483, allocations: 17.05 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.7484, allocations: 17.5 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.7484, allocations: 318.9 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.7484, allocations: 9.062 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.7485, allocations: 9.078 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.7485, allocations: 23.3 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7485, allocations: 1.188 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.163e-05/0.7486, allocations: 57.12 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7486, allocations: 4.062 kB / 0.9532 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.7486, allocations: 5.188 kB / 0.9532 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.7486, allocations: 0 / 0.9532 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.7487, allocations: 9 kB / 0.9532 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7487, allocations: 5.094 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.7488, allocations: 1.219 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.7488, allocations: 0 / 0.9532 GB, free: 5.996 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 4.855e-05/0.7488, allocations: 109 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.7488, allocations: 3.984 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.7489, allocations: 12.94 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.7489, allocations: 3.938 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7489, allocations: 1.469 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7489, allocations: 0 / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.063e-05/0.749, allocations: 165.5 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.749, allocations: 1.25 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.749, allocations: 5.656 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.749, allocations: 0 / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.749, allocations: 7.938 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.749, allocations: 1.219 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.749, allocations: 0 / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.459e-05/0.7491, allocations: 77.5 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.7492, allocations: 87.12 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.7492, allocations: 5 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.7493, allocations: 5.062 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.7493, allocations: 5.5 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.7493, allocations: 1.094 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.815e-05/0.7493, allocations: 76.38 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7493, allocations: 1 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001836/0.7495, allocations: 5.375 kB / 0.9537 GB, free: 5.379 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 (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 Backend phase and start with SimCode phase: time 9.888e-05/0.7496, allocations: 104.9 kB / 0.9538 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.014e-05/0.7497, allocations: 26.48 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7497, allocations: 0 / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.7498, allocations: 20.58 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.75, allocations: 13.73 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.7503, allocations: 164.6 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.963e-05/0.7504, allocations: 0.6766 MB / 0.9547 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.7504, allocations: 9.781 kB / 0.9547 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.7504, allocations: 0 / 0.9547 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.001892/0.7523, allocations: 0.5132 MB / 0.9552 GB, free: 4.125 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches