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.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_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.001322/0.001322, allocations: 105 kB / 15.98 MB, free: 6.77 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.00116/0.001161, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 4.531 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.466/2.466, allocations: 390.2 MB / 0.665 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 0.8127 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.8671, allocations: 140.4 MB / 0.9498 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002498/0.8696, allocations: 1.311 MB / 0.9511 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005276/0.8702, allocations: 294.1 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.8702, allocations: 3.938 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.8703, allocations: 1.375 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.8703, allocations: 7.922 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.8707, allocations: 45.2 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.8707, allocations: 20.98 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.8708, allocations: 1.156 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.8708, allocations: 13.33 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.8709, allocations: 6.906 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.8709, allocations: 0 / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.871, allocations: 53.41 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.871, allocations: 5.469 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.8711, allocations: 8 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.8712, allocations: 41.17 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8712, allocations: 0 / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8712, allocations: 4 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.8712, allocations: 1.375 kB / 0.9515 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.000383/0.8716, allocations: 338.3 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.8717, allocations: 9.625 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.8719, allocations: 15.92 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.415e-05/0.872, allocations: 161.8 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.872, allocations: 4.359 kB / 0.952 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.872, allocations: 5.75 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.8721, allocations: 41.12 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8722, allocations: 1.562 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.8722, allocations: 3.938 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.8722, allocations: 1.375 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.8722, allocations: 12.25 kB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.8724, allocations: 161.7 kB / 0.9523 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.8743, allocations: 269 kB / 0.9525 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.8744, allocations: 25.84 kB / 0.9525 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.8744, allocations: 0 / 0.9525 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.8744, allocations: 35.88 kB / 0.9526 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.8744, allocations: 0 / 0.9526 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001934/0.8746, allocations: 69.56 kB / 0.9526 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.8747, allocations: 52.94 kB / 0.9527 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.8747, allocations: 91.3 kB / 0.9528 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.8748, allocations: 25.7 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.414e-05/0.8748, allocations: 80.14 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.8748, allocations: 21.39 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.8748, allocations: 17.62 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.8749, allocations: 312.3 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.8749, allocations: 8.125 kB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.875, allocations: 24.25 kB / 0.9532 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.875, allocations: 24.73 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.875, allocations: 0 / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.806e-05/0.8751, allocations: 57.75 kB / 0.9533 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8751, allocations: 4.062 kB / 0.9533 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.8751, allocations: 3.938 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.8752, allocations: 5.156 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.8752, allocations: 5.219 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8752, allocations: 1.688 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.8753, allocations: 0 / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.8753, allocations: 1.594 kB / 0.9533 GB, free: 6 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 6.34e-05/0.8754, allocations: 114.8 kB / 0.9535 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.8754, allocations: 1.344 kB / 0.9535 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.8754, allocations: 12.81 kB / 0.9535 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8754, allocations: 0 / 0.9535 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8754, allocations: 4 kB / 0.9535 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8754, allocations: 1.344 kB / 0.9535 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.288e-05/0.8755, allocations: 158.9 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8755, allocations: 3.938 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.8756, allocations: 5.344 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.8756, allocations: 0 / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.8756, allocations: 3.938 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8756, allocations: 5.312 kB / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8756, allocations: 0 / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.889e-05/0.8757, allocations: 82.16 kB / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.8758, allocations: 82.22 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.8758, allocations: 4.906 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.8759, allocations: 1.625 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.8759, allocations: 1.219 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.8759, allocations: 1.938 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.8759, allocations: 75.28 kB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8759, allocations: 0 / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001873/0.8761, allocations: 14.77 kB / 0.9539 GB, free: 5.383 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 0.0001205/0.8763, allocations: 100.2 kB / 0.954 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.8764, allocations: 31.55 kB / 0.954 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8764, allocations: 0 / 0.954 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.8764, allocations: 12.47 kB / 0.954 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.8767, allocations: 22.14 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.8771, allocations: 171 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.8773, allocations: 0.6796 MB / 0.9549 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.8773, allocations: 10.12 kB / 0.9549 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8773, allocations: 0 / 0.9549 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.001819/0.8791, allocations: 0.5362 MB / 0.9554 GB, free: 4.105 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