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.001185/0.001185, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001168/0.001168, allocations: 166.8 kB / 24.86 MB, free: 9.25 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.744/1.744, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.403e-06/1.403e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.543e-05, allocations: 10.25 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001498/0.001514, allocations: 1.317 MB / 0.7896 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.001902, allocations: 293.8 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.001922, allocations: 0 / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.001939, allocations: 8.5 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.001977, allocations: 5.188 kB / 0.7899 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.002194, allocations: 49.36 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.002243, allocations: 15.92 kB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.002277, allocations: 8 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.002326, allocations: 7.938 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.00237, allocations: 7.984 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.002381, allocations: 1.219 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.002465, allocations: 55.88 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.002478, allocations: 4 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.333e-05/0.002492, allocations: 8.625 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002593, allocations: 47.88 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002595, allocations: 5.344 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.4e-07/0.002596, allocations: 0 / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002599, allocations: 0 / 0.7901 GB, free: 10.4 MB / 0.7448 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.0002593/0.002859, allocations: 364.9 kB / 0.7904 GB, free: 10 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.002888, allocations: 12.03 kB / 0.7904 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.00303, allocations: 30.05 kB / 0.7905 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.707e-05/0.003087, allocations: 105.3 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.003096, allocations: 4.375 kB / 0.7906 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.003102, allocations: 5.406 kB / 0.7906 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.293e-05/0.003175, allocations: 63.95 kB / 0.7906 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-06/0.00318, allocations: 3.406 kB / 0.7906 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.003186, allocations: 384 / 0.7906 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.003189, allocations: 384 / 0.7906 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.003215, allocations: 19.86 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.351e-05/0.003309, allocations: 101.2 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.004132, allocations: 268.2 kB / 0.791 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.004151, allocations: 21.36 kB / 0.791 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.004158, allocations: 0 / 0.791 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.004178, allocations: 37.39 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.004178, allocations: 0 / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 9.648e-05/0.004275, allocations: 62.52 kB / 0.7911 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.004299, allocations: 51.41 kB / 0.7912 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.437e-05/0.004353, allocations: 150.5 kB / 0.7913 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.004363, allocations: 30.23 kB / 0.7914 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.00439, allocations: 128 kB / 0.7915 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.004415, allocations: 23.81 kB / 0.7915 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.00444, allocations: 19.38 kB / 0.7915 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.004548, allocations: 496.1 kB / 0.792 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.00456, allocations: 4.531 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.00457, allocations: 8.516 kB / 0.792 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.004595, allocations: 25.06 kB / 0.792 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004597, allocations: 0 / 0.792 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.911e-05/0.004646, allocations: 53.62 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.004656, allocations: 4 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.004659, allocations: 1.156 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.004666, allocations: 3.938 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.272e-05/0.004698, allocations: 8 kB / 0.7921 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.004701, allocations: 0.9375 kB / 0.7921 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.004715, allocations: 0 / 0.7921 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.004719, allocations: 3.938 kB / 0.7921 GB, free: 8.148 MB / 0.7448 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 5.601e-05/0.004775, allocations: 162.2 kB / 0.7923 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.004781, allocations: 3.953 kB / 0.7923 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.004801, allocations: 11.52 kB / 0.7923 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.004802, allocations: 4.812 kB / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004804, allocations: 0 / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.004807, allocations: 4 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.004867, allocations: 106.1 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004867, allocations: 0 / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.004885, allocations: 9.281 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.004885, allocations: 0 / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.004891, allocations: 4 kB / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004891, allocations: 0 / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.004893, allocations: 4.891 kB / 0.7924 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.926e-05/0.004952, allocations: 84.38 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.004974, allocations: 6.312 kB / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-06/0.00498, allocations: 0 / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.005001, allocations: 0 / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.005013, allocations: 7.984 kB / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.005016, allocations: 0 / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.005043, allocations: 119.2 kB / 0.7926 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005043, allocations: 3.438 kB / 0.7926 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001127/0.005155, allocations: 12 kB / 0.7926 GB, free: 7.562 MB / 0.7448 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 5.94e-05/0.005215, allocations: 99.19 kB / 0.7927 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.35e-05/0.005268, allocations: 24.05 kB / 0.7927 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005269, allocations: 0 / 0.7927 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-05/0.005283, allocations: 15.69 kB / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.00542, allocations: 22.09 kB / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.005739, allocations: 136.1 kB / 0.7929 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.727e-05/0.005766, allocations: 60.7 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.005798, allocations: 9.812 kB / 0.793 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.005854, allocations: 84.36 kB / 0.7931 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.005855, allocations: 0 / 0.7931 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of Templates: time 0.001828/0.007683, allocations: 0.6755 MB / 0.7937 GB, free: 6.426 MB / 0.7448 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.011887116823345]