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.001216/0.001216, allocations: 102.2 kB / 16.27 MB, free: 6 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.001157/0.001157, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.23/2.23, allocations: 390.2 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.09 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3509, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002749/0.3537, allocations: 1.251 MB / 0.9515 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.3544, allocations: 305.1 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.3545, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.3545, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.3546, allocations: 3.938 kB / 0.9518 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.355, allocations: 55.73 kB / 0.9518 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.3551, allocations: 19.92 kB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.3551, allocations: 0 / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.3552, allocations: 11.94 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.3553, allocations: 8 kB / 0.9519 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3553, allocations: 0 / 0.9519 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.3555, allocations: 55.94 kB / 0.9519 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.3555, allocations: 4 kB / 0.9519 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.3556, allocations: 7.938 kB / 0.9519 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3557, allocations: 52.11 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3557, allocations: 0 / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3558, allocations: 0 / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3558, allocations: 0 / 0.952 GB, free: 7.07 MB / 0.7325 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.0004774/0.3562, allocations: 339.5 kB / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3563, allocations: 8.031 kB / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.3566, allocations: 20.91 kB / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3567, allocations: 168.3 kB / 0.9525 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3567, allocations: 4.375 kB / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3567, allocations: 4.312 kB / 0.9525 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3569, allocations: 42.25 kB / 0.9526 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3569, allocations: 192 / 0.9526 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3569, allocations: 7.938 kB / 0.9526 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3569, allocations: 4 kB / 0.9526 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.691e-05/0.357, allocations: 15.98 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.3572, allocations: 157.7 kB / 0.9527 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.3591, allocations: 274.4 kB / 0.953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.3591, allocations: 16.86 kB / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3592, allocations: 0 / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3592, allocations: 42.55 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3592, allocations: 0 / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001836/0.3594, allocations: 61.62 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3594, allocations: 55.41 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.3595, allocations: 93.86 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3595, allocations: 25.7 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.3596, allocations: 80.14 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3596, allocations: 23.67 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.3597, allocations: 17.72 kB / 0.9534 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3598, allocations: 314.8 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.3598, allocations: 8.125 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.3598, allocations: 15.94 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.3599, allocations: 28.84 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3599, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.72e-05/0.36, allocations: 49.7 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.36, allocations: 6.656 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.36, allocations: 7.922 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.36, allocations: 0 / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.3601, allocations: 11.94 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3601, allocations: 0 / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.3602, allocations: 0 / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3602, allocations: 4 kB / 0.9538 GB, free: 4.977 MB / 0.7325 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.842e-05/0.3603, allocations: 113.8 kB / 0.9539 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.3603, allocations: 3.906 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.3603, allocations: 11.44 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3603, allocations: 0 / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3603, allocations: 4 kB / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3603, allocations: 3.984 kB / 0.9539 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.3605, allocations: 149.7 kB / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3605, allocations: 0 / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.3605, allocations: 11.98 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3605, allocations: 0 / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3605, allocations: 7.938 kB / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3605, allocations: 0 / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3606, allocations: 0 / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.3607, allocations: 77.39 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.3607, allocations: 81.09 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3608, allocations: 19.91 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.3608, allocations: 4 kB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.3608, allocations: 4 kB / 0.9543 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3609, allocations: 4 kB / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.3609, allocations: 75.28 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3609, allocations: 0 / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001891/0.3611, allocations: 4 kB / 0.9544 GB, free: 4.312 MB / 0.7325 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.00011/0.3612, allocations: 103.2 kB / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.3613, allocations: 31.95 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3613, allocations: 0 / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-05/0.3614, allocations: 19.98 kB / 0.9545 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3617, allocations: 11.94 kB / 0.9545 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.362, allocations: 144.3 kB / 0.9547 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.3623, allocations: 0.6844 MB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.3623, allocations: 11.44 kB / 0.9553 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.3623, allocations: 0 / 0.9553 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of Templates: time 0.001895/0.3642, allocations: 0.5269 MB / 0.9559 GB, free: 2.719 MB / 0.7325 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