Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001311/0.001311, allocations: 107.7 kB / 15.99 MB, free: 5.91 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.001313/0.001313, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.457/1.457, allocations: 222.9 MB / 240.6 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.684/2.684, allocations: 469.8 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 69.67 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3526, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002647/0.3553, allocations: 1.317 MB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005887/0.3559, allocations: 303.1 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.3559, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.356, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.356, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.3563, allocations: 47.75 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.3564, allocations: 19.92 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.3564, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.3565, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.3566, allocations: 19.92 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3566, allocations: 4 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3567, allocations: 47.95 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.3567, allocations: 4 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.3568, allocations: 8 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.3569, allocations: 44.11 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3569, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3569, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3569, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 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.0005098/0.3574, allocations: 335.6 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3575, allocations: 8.031 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.3577, allocations: 24.91 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3579, allocations: 164.3 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3579, allocations: 4.375 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.3579, allocations: 8.25 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.358, allocations: 42.25 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3581, allocations: 192 / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3581, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3581, allocations: 4 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.213e-05/0.3581, allocations: 15.98 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.3583, allocations: 161.7 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3603, allocations: 270.3 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.3604, allocations: 20.86 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3604, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3604, allocations: 34.56 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3604, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.000181/0.3606, allocations: 69.53 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3607, allocations: 59.39 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.3608, allocations: 89.86 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3608, allocations: 25.7 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.3608, allocations: 80.14 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.3609, allocations: 15.84 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.3609, allocations: 13.72 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3611, allocations: 314.8 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.3611, allocations: 11.94 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.3611, allocations: 12.12 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.3612, allocations: 24.86 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3612, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.128e-05/0.3613, allocations: 57.59 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3613, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3613, allocations: 3.938 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3613, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.3614, allocations: 15.92 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3614, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.3615, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.3615, allocations: 4 kB / 1.068 GB, free: 11.22 MB / 0.8419 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 9.692e-05/0.3616, allocations: 114.5 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.3616, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.3616, allocations: 11.44 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3616, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3616, allocations: 4 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3616, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.3618, allocations: 153.7 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3618, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.3618, allocations: 7.984 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3619, allocations: 4 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3619, allocations: 11.88 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3619, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3619, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.362, allocations: 81.39 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.3621, allocations: 85.08 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3621, allocations: 7.938 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.3622, allocations: 7.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.3622, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3622, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.3623, allocations: 75.28 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3623, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001837/0.3624, allocations: 8 kB / 1.068 GB, free: 10.55 MB / 0.8419 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.0001198/0.3626, allocations: 103.2 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.3627, allocations: 23.92 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3627, allocations: 8.094 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.3627, allocations: 12 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.363, allocations: 14.48 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.3634, allocations: 164.3 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3637, allocations: 0.6768 MB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.3637, allocations: 7.438 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of SimCode: time 1.91e-07/0.3637, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.001997/0.3657, allocations: 0.5268 MB / 1.07 GB, free: 8.953 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches