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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001741/0.001741, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002018/0.002018, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001962, allocations: 63.91 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.6576, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002897/0.6606, allocations: 1.338 MB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006807/0.6613, allocations: 291.1 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.6613, allocations: 4 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.6613, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.6614, allocations: 3.938 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.6617, allocations: 39.83 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.6617, allocations: 23.86 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.6618, allocations: 3.984 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.6618, allocations: 4 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.6619, allocations: 7.984 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.6619, allocations: 0 / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.662, allocations: 55.95 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.662, allocations: 7.938 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.6621, allocations: 4 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.6622, allocations: 49.86 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6622, allocations: 4 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6622, allocations: 0 / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.6622, allocations: 0 / 1.018 GB, free: 0.9062 MB / 0.7637 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.0004621/0.6627, allocations: 343.4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6628, allocations: 8.031 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.663, allocations: 16.92 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.6631, allocations: 164.3 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.6631, allocations: 4.375 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.6632, allocations: 8.375 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.6633, allocations: 42.23 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.6633, allocations: 192 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6633, allocations: 11.92 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6633, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.771e-05/0.6634, allocations: 15.94 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.6636, allocations: 153.7 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.6656, allocations: 274.4 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.6657, allocations: 20.84 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.6657, allocations: 4 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6658, allocations: 30.56 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6658, allocations: 0 / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001959/0.666, allocations: 65.62 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.666, allocations: 51.41 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.6661, allocations: 97.86 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.6662, allocations: 33.58 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.6662, allocations: 80.27 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.6663, allocations: 19.73 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.6663, allocations: 17.72 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6665, allocations: 310.8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.6665, allocations: 12 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.6665, allocations: 11.98 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.6666, allocations: 28.86 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6666, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.409e-05/0.6667, allocations: 49.69 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.6667, allocations: 12 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.6667, allocations: 3.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6667, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.6668, allocations: 7.938 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6668, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.6668, allocations: 7.906 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.6668, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 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 0.0001005/0.6669, allocations: 106.6 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.667, allocations: 7.984 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.667, allocations: 15.44 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.667, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.667, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.667, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.6672, allocations: 157.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6672, allocations: 4.328 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.6672, allocations: 8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6673, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.6673, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6673, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6673, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.6674, allocations: 89.05 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.6675, allocations: 81.09 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.6675, allocations: 7.875 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.6676, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.6676, allocations: 7.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.6676, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.6676, allocations: 75.28 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6676, allocations: 4.094 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001892/0.6678, allocations: 8 kB / 1.021 GB, free: 14.14 MB / 0.7794 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.0001248/0.668, allocations: 99.23 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.712e-05/0.6681, allocations: 27.94 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6681, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.6681, allocations: 15.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.6684, allocations: 13.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.6687, allocations: 132.3 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.669, allocations: 0.677 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.133e-05/0.6691, allocations: 8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.6691, allocations: 7.438 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6691, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002606/0.6717, allocations: 0.4925 MB / 1.022 GB, free: 12.62 MB / 0.7794 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=400 -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/jenkins/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