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.001578/0.001578, allocations: 106.5 kB / 15.99 MB, free: 6.352 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.001486/0.001486, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.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.51/2.51, allocations: 437.1 MB / 0.7107 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.22 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3116, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003235/0.3149, allocations: 1.325 MB / 1.019 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007198/0.3157, allocations: 292.6 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.3157, allocations: 0 / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.3158, allocations: 4 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.283e-05/0.3158, allocations: 3.938 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.3162, allocations: 47.77 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.3163, allocations: 15.92 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.3163, allocations: 11.98 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.3164, allocations: 4 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.3165, allocations: 8 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3165, allocations: 0 / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3167, allocations: 59.88 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.3167, allocations: 0 / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.3167, allocations: 4 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.3169, allocations: 44.17 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3169, allocations: 0 / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3169, allocations: 0 / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.3169, allocations: 0 / 1.019 GB, free: 9.168 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.0005014/0.3174, allocations: 343.4 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3175, allocations: 12.92 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.3177, allocations: 16.86 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3179, allocations: 172.3 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3179, allocations: 384 / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.3179, allocations: 384 / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3181, allocations: 46.23 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3181, allocations: 4.188 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3181, allocations: 7.938 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3181, allocations: 0 / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.239e-05/0.3182, allocations: 16 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.3184, allocations: 153.7 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.3204, allocations: 270.4 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.3204, allocations: 24.84 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3205, allocations: 4 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3205, allocations: 30.56 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3205, allocations: 0 / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001935/0.3207, allocations: 69.56 kB / 1.02 GB, free: 7.852 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.3208, allocations: 55.41 kB / 1.02 GB, free: 7.785 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.3208, allocations: 89.86 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3209, allocations: 29.7 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.3209, allocations: 80.14 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.321, allocations: 15.8 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.321, allocations: 17.66 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3212, allocations: 314.8 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.3212, allocations: 8.125 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.3212, allocations: 15.98 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.3213, allocations: 20.86 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3213, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.3214, allocations: 57.62 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3214, allocations: 4 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3214, allocations: 7.938 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3214, allocations: 3.938 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.3215, allocations: 4 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3215, allocations: 0 / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.3216, allocations: 7.906 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3216, allocations: 8 kB / 1.021 GB, free: 7.07 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 8.448e-05/0.3217, allocations: 110.4 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-06/0.3217, allocations: 0 / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.3217, allocations: 15.77 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3217, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3217, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3217, allocations: 3.984 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.3219, allocations: 153.7 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3219, allocations: 4 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.322, allocations: 8 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.322, allocations: 0 / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.322, allocations: 3.938 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.322, allocations: 0 / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.322, allocations: 3.938 kB / 1.021 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3221, allocations: 81.11 kB / 1.021 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.3222, allocations: 85.05 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3222, allocations: 7.938 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.3223, allocations: 0 / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.3223, allocations: 4 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.3223, allocations: 3.984 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.3224, allocations: 79.28 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3224, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000181/0.3226, allocations: 8 kB / 1.022 GB, free: 6.41 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 0.0001183/0.3227, allocations: 95.34 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.3228, allocations: 35.92 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3228, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.3228, allocations: 12 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3231, allocations: 18.45 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.3234, allocations: 168.3 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3238, allocations: 0.6806 MB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.3238, allocations: 11.44 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3239, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of Templates: time 0.002137/0.326, allocations: 0.5193 MB / 1.023 GB, free: 4.812 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=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/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