Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001044/0.001044, allocations: 111.4 kB / 16.37 MB, free: 6.012 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.000999/0.000999, allocations: 192.1 kB / 17.3 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.27 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3116, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002331/0.314, allocations: 1.262 MB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00053/0.3146, allocations: 291.1 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.3146, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.3146, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.3147, allocations: 11.91 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.315, allocations: 51.77 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.943e-05/0.315, allocations: 15.92 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.3151, allocations: 4 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.3151, allocations: 11.94 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.3152, allocations: 11.92 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3152, allocations: 0 / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.3153, allocations: 59.88 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-06/0.3153, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.3154, allocations: 11.94 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.3155, allocations: 47.89 kB / 1.021 GB, free: 8.078 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3155, allocations: 4 kB / 1.021 GB, free: 8.074 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3155, allocations: 4 kB / 1.021 GB, free: 8.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3155, allocations: 0 / 1.021 GB, free: 8.07 MB / 0.795 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.0003715/0.3159, allocations: 335.5 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.316, allocations: 12.91 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.3162, allocations: 16.92 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/0.3163, allocations: 164.3 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3163, allocations: 4.375 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.3163, allocations: 384 / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3164, allocations: 42.25 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3165, allocations: 192 / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3165, allocations: 11.88 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3165, allocations: 4 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.3165, allocations: 19.92 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.3167, allocations: 153.7 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.3186, allocations: 270.5 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.3186, allocations: 20.84 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3187, allocations: 0 / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3187, allocations: 34.56 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.3187, allocations: 3.984 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001634/0.3189, allocations: 69.56 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.3189, allocations: 51.41 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.319, allocations: 93.86 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.319, allocations: 25.7 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.367e-05/0.319, allocations: 80.14 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3191, allocations: 11.81 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.3191, allocations: 21.83 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.3192, allocations: 314.8 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.3192, allocations: 8 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.54e-05/0.3192, allocations: 8 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/0.3193, allocations: 28.84 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3193, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.497e-05/0.3194, allocations: 53.62 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3194, allocations: 8 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3194, allocations: 3.938 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3194, allocations: 7.938 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.3195, allocations: 4 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3195, allocations: 0 / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.3195, allocations: 7.906 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3196, allocations: 4 kB / 1.022 GB, free: 5.988 MB / 0.795 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.337e-05/0.3196, allocations: 105.8 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.3196, allocations: 4 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.3197, allocations: 15.42 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3197, allocations: 4 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3197, allocations: 0 / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3197, allocations: 3.938 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.3198, allocations: 153.7 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3198, allocations: 8 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.3199, allocations: 7.938 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3199, allocations: 0 / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3199, allocations: 3.938 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3199, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3199, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.32, allocations: 85.12 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.3201, allocations: 85.03 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3201, allocations: 3.938 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.3202, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.3202, allocations: 4 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3202, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.3202, allocations: 79.28 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3203, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001807/0.3204, allocations: 12.09 kB / 1.023 GB, free: 5.324 MB / 0.795 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.93e-05/0.3205, allocations: 103.2 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.3206, allocations: 24.38 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3207, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.3207, allocations: 15.98 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.3209, allocations: 11.98 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.3212, allocations: 134.7 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.3214, allocations: 0.6772 MB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.3215, allocations: 7.984 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.3215, allocations: 11.44 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3215, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of Templates: time 0.002434/0.324, allocations: 0.5051 MB / 1.024 GB, free: 3.789 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches