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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 161.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.88/2.88, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.068e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002591/0.002622, allocations: 1.289 MB / 0.7876 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006687/0.00329, allocations: 297.4 kB / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.003314, allocations: 0 / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.003331, allocations: 8.844 kB / 0.7879 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.186e-05/0.003382, allocations: 3.938 kB / 0.7879 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.00367, allocations: 49.05 kB / 0.788 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.00374, allocations: 19.88 kB / 0.788 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.003774, allocations: 4.844 kB / 0.788 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.003834, allocations: 7.984 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.003879, allocations: 4.969 kB / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.003893, allocations: 0 / 0.788 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.004034, allocations: 56.44 kB / 0.7881 GB, free: 9.965 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.004051, allocations: 7.922 kB / 0.7881 GB, free: 9.957 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.004071, allocations: 8.844 kB / 0.7881 GB, free: 9.949 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.004231, allocations: 55.88 kB / 0.7881 GB, free: 9.895 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004234, allocations: 0.75 kB / 0.7881 GB, free: 9.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004235, allocations: 0 / 0.7881 GB, free: 9.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004239, allocations: 1.25 kB / 0.7881 GB, free: 9.895 MB / 0.698 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.000763/0.005002, allocations: 360.2 kB / 0.7885 GB, free: 9.504 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.005043, allocations: 12.03 kB / 0.7885 GB, free: 9.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.005305, allocations: 30.31 kB / 0.7885 GB, free: 9.465 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.005415, allocations: 104.6 kB / 0.7886 GB, free: 9.336 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.005428, allocations: 384 / 0.7886 GB, free: 9.336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.00544, allocations: 5.594 kB / 0.7886 GB, free: 9.332 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.005581, allocations: 67.95 kB / 0.7887 GB, free: 9.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005589, allocations: 192 / 0.7887 GB, free: 9.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.0056, allocations: 1 kB / 0.7887 GB, free: 9.254 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005604, allocations: 384 / 0.7887 GB, free: 9.254 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.005675, allocations: 29.27 kB / 0.7887 GB, free: 9.227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.00587, allocations: 120.5 kB / 0.7888 GB, free: 9.074 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.00786, allocations: 281.6 kB / 0.7891 GB, free: 8.793 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.00792, allocations: 23.69 kB / 0.7891 GB, free: 8.766 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.007931, allocations: 1.594 kB / 0.7891 GB, free: 8.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.007968, allocations: 41.38 kB / 0.7892 GB, free: 8.715 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.00797, allocations: 0 / 0.7892 GB, free: 8.715 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001991/0.008169, allocations: 65.62 kB / 0.7892 GB, free: 8.645 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.008218, allocations: 56.53 kB / 0.7893 GB, free: 8.578 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.008338, allocations: 153.9 kB / 0.7894 GB, free: 8.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.008362, allocations: 32.83 kB / 0.7895 GB, free: 8.375 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.008437, allocations: 126.9 kB / 0.7896 GB, free: 8.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.008468, allocations: 7.906 kB / 0.7896 GB, free: 8.238 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.008519, allocations: 23.38 kB / 0.7896 GB, free: 8.207 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002738/0.008792, allocations: 496.1 kB / 0.7901 GB, free: 7.711 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.00883, allocations: 12 kB / 0.7901 GB, free: 7.699 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/0.008847, allocations: 4 kB / 0.7901 GB, free: 7.695 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.008916, allocations: 39.61 kB / 0.7901 GB, free: 7.652 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008918, allocations: 0 / 0.7901 GB, free: 7.652 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.693e-05/0.009015, allocations: 54.42 kB / 0.7902 GB, free: 7.594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.009029, allocations: 4 kB / 0.7902 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.009036, allocations: 4.547 kB / 0.7902 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.009051, allocations: 0.5312 kB / 0.7902 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.009113, allocations: 9.188 kB / 0.7902 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.009119, allocations: 0 / 0.7902 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.009152, allocations: 3.938 kB / 0.7902 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.009156, allocations: 0 / 0.7902 GB, free: 7.574 MB / 0.698 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.0001207/0.009277, allocations: 158.5 kB / 0.7904 GB, free: 7.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.009292, allocations: 4 kB / 0.7904 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.009333, allocations: 11.47 kB / 0.7904 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009334, allocations: 4 kB / 0.7904 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.009338, allocations: 1.156 kB / 0.7904 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.009346, allocations: 7.922 kB / 0.7904 GB, free: 7.379 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.009482, allocations: 124.5 kB / 0.7905 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009483, allocations: 4.906 kB / 0.7905 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.009527, allocations: 4 kB / 0.7905 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.009529, allocations: 4 kB / 0.7905 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.009536, allocations: 1.719 kB / 0.7905 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.009539, allocations: 3.984 kB / 0.7905 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.00954, allocations: 0 / 0.7905 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.009688, allocations: 92.38 kB / 0.7906 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.009736, allocations: 8.859 kB / 0.7906 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.009748, allocations: 0 / 0.7906 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.064e-05/0.009798, allocations: 3.438 kB / 0.7906 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.009826, allocations: 7.938 kB / 0.7906 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.009836, allocations: 3.984 kB / 0.7906 GB, free: 7.074 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.444e-05/0.009911, allocations: 123.2 kB / 0.7908 GB, free: 6.953 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.009911, allocations: 0 / 0.7908 GB, free: 6.953 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001906/0.0101, allocations: 15.94 kB / 0.7908 GB, free: 6.938 MB / 0.698 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.000141/0.01024, allocations: 95.25 kB / 0.7909 GB, free: 6.836 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01036, allocations: 32.2 kB / 0.7909 GB, free: 6.801 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01037, allocations: 0.5 kB / 0.7909 GB, free: 6.801 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.01041, allocations: 28.19 kB / 0.7909 GB, free: 6.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01065, allocations: 12.48 kB / 0.7909 GB, free: 6.758 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.01102, allocations: 130.9 kB / 0.7911 GB, free: 6.605 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.01108, allocations: 59.98 kB / 0.7911 GB, free: 6.527 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.01112, allocations: 3.125 kB / 0.7911 GB, free: 6.527 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.01116, allocations: 12.5 kB / 0.7911 GB, free: 6.512 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.01116, allocations: 0.8125 kB / 0.7911 GB, free: 6.512 MB / 0.698 GB Notification: Performance of Templates: time 0.003481/0.01464, allocations: 0.5939 MB / 0.7917 GB, free: 5.949 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.805040967068635]