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.001378/0.001378, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009641/0.0009641, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9219/0.9219, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.679/1.679, allocations: 359 MB / 0.6052 GB, free: 10.98 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.032e-06/1.032e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.183e-05, allocations: 8.844 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001464/0.001485, allocations: 1.316 MB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.001864, allocations: 289.3 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.001883, allocations: 1.219 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.001903, allocations: 7.938 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.001943, allocations: 8.547 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.002198, allocations: 49.16 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.464e-05/0.002253, allocations: 15.92 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.002288, allocations: 4 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.002341, allocations: 16.77 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.002384, allocations: 4 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.002396, allocations: 0.5625 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.002486, allocations: 52.58 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.002504, allocations: 7.984 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.002522, allocations: 8.891 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.002633, allocations: 51.83 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.002636, allocations: 3.984 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002636, allocations: 4.594 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.00264, allocations: 1.594 kB / 0.7889 GB, free: 10.63 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.0002818/0.002922, allocations: 360.2 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.002962, allocations: 12.03 kB / 0.7892 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.00313, allocations: 25.75 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.874e-05/0.003188, allocations: 108.1 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.003199, allocations: 4.375 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.003207, allocations: 4.375 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.003295, allocations: 63.95 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.003301, allocations: 4.172 kB / 0.7894 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.00331, allocations: 4.375 kB / 0.7894 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.003318, allocations: 4.125 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.003349, allocations: 15.92 kB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.003457, allocations: 120.7 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.004326, allocations: 273.8 kB / 0.7898 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.004352, allocations: 17.03 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-06/0.00436, allocations: 4 kB / 0.7899 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.004379, allocations: 33.39 kB / 0.7899 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.004381, allocations: 0 / 0.7899 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001228/0.004503, allocations: 66.19 kB / 0.79 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.004526, allocations: 51.97 kB / 0.79 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.537e-05/0.004581, allocations: 159 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.004592, allocations: 25.7 kB / 0.7902 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.004616, allocations: 130.9 kB / 0.7903 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.00464, allocations: 16.62 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.004667, allocations: 23.38 kB / 0.7903 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.004761, allocations: 493.4 kB / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.004776, allocations: 11.98 kB / 0.7908 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.004786, allocations: 8 kB / 0.7908 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.004821, allocations: 32.94 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004823, allocations: 0 / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.899e-05/0.004882, allocations: 53.62 kB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.004894, allocations: 8 kB / 0.7909 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.004897, allocations: 0.5312 kB / 0.7909 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.004907, allocations: 0.5312 kB / 0.7909 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.231e-05/0.004939, allocations: 4 kB / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.004946, allocations: 8.797 kB / 0.7909 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.00496, allocations: 0 / 0.7909 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.004964, allocations: 4.812 kB / 0.7909 GB, free: 8.336 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.238e-05/0.005017, allocations: 156.6 kB / 0.7911 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-06/0.005025, allocations: 8.484 kB / 0.7911 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.005044, allocations: 8.906 kB / 0.7911 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005045, allocations: 0 / 0.7911 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.005049, allocations: 0 / 0.7911 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005051, allocations: 7.875 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.048e-05/0.005112, allocations: 117.4 kB / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005113, allocations: 0 / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.005131, allocations: 8.938 kB / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.005132, allocations: 0 / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.005137, allocations: 0 / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.005138, allocations: 1.219 kB / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.005139, allocations: 336 / 0.7912 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.863e-05/0.005208, allocations: 92.36 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.005238, allocations: 8.969 kB / 0.7913 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.005246, allocations: 3.984 kB / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.005269, allocations: 0 / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.005283, allocations: 6.281 kB / 0.7913 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.005287, allocations: 0 / 0.7913 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.877e-05/0.005315, allocations: 127.1 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005315, allocations: 0 / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001159/0.005431, allocations: 8 kB / 0.7915 GB, free: 7.727 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 6.164e-05/0.005493, allocations: 106.5 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.357e-05/0.005567, allocations: 23.69 kB / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005568, allocations: 0 / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.005585, allocations: 23.67 kB / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.005727, allocations: 23.91 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.006125, allocations: 141.7 kB / 0.7918 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.66e-05/0.006151, allocations: 56.14 kB / 0.7918 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.006182, allocations: 2.531 kB / 0.7918 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.006206, allocations: 13.59 kB / 0.7918 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.006206, allocations: 0 / 0.7918 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of Templates: time 0.002097/0.008304, allocations: 0.6303 MB / 0.7925 GB, free: 6.695 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: 4.644330266397446]