Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009307/0.0009307, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008972/0.0008972, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.9494/0.9494, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.84/1.84, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.807e-05, allocations: 3.281 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001598/0.001616, allocations: 1.329 MB / 0.7613 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004013/0.002018, allocations: 305.1 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.002038, allocations: 0 / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.002053, allocations: 0 / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.002096, allocations: 7.375 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.002345, allocations: 43.92 kB / 0.7616 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.766e-05/0.002403, allocations: 26.48 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.002439, allocations: 4 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.002495, allocations: 8.969 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.002542, allocations: 4.812 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.002555, allocations: 3.984 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.002653, allocations: 57.53 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.002665, allocations: 3.984 kB / 0.7617 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.346e-05/0.002678, allocations: 9.656 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.002779, allocations: 52.53 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002781, allocations: 1.531 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002781, allocations: 3.938 kB / 0.7618 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.002784, allocations: 0 / 0.7618 GB, free: 4.789 MB / 0.7136 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.0002281/0.003012, allocations: 233.8 kB / 0.762 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.003041, allocations: 8.031 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.003181, allocations: 21.8 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.809e-05/0.003239, allocations: 114.1 kB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.003248, allocations: 4.375 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.003258, allocations: 5.406 kB / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.63e-05/0.003335, allocations: 63.89 kB / 0.7622 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.003341, allocations: 0.875 kB / 0.7622 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-06/0.003349, allocations: 8.359 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.003353, allocations: 2.156 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.003373, allocations: 7.938 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.542e-05/0.003459, allocations: 72.98 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.004195, allocations: 253 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.004214, allocations: 16.84 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.004221, allocations: 4.719 kB / 0.7626 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.00424, allocations: 30.56 kB / 0.7626 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004241, allocations: 2.438 kB / 0.7626 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 8.649e-05/0.004328, allocations: 49.62 kB / 0.7627 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.004352, allocations: 55.41 kB / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.004394, allocations: 102.7 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.004404, allocations: 25.7 kB / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.004422, allocations: 82.89 kB / 0.7629 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.004446, allocations: 19.84 kB / 0.7629 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.004469, allocations: 17.7 kB / 0.763 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.004535, allocations: 314.8 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-06/0.004544, allocations: 4 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.004552, allocations: 4 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.004578, allocations: 28.77 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00458, allocations: 1.219 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.201e-05/0.004622, allocations: 41.69 kB / 0.7633 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.004631, allocations: 4 kB / 0.7633 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004636, allocations: 7.938 kB / 0.7633 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.004646, allocations: 0.9375 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.225e-05/0.004678, allocations: 4 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.004681, allocations: 0.9375 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.004695, allocations: 4 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.004699, allocations: 5.281 kB / 0.7634 GB, free: 3.059 MB / 0.7136 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 4.791e-05/0.004747, allocations: 113.7 kB / 0.7635 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.004755, allocations: 7.984 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.004771, allocations: 9.094 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004772, allocations: 0 / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.004774, allocations: 0 / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004776, allocations: 336 / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.017e-05/0.004826, allocations: 69.84 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004826, allocations: 0.6562 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.004843, allocations: 4.656 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.004846, allocations: 7.969 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.004849, allocations: 0.5 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.00485, allocations: 7.438 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.004852, allocations: 4 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.211e-05/0.004904, allocations: 69.06 kB / 0.7636 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.004926, allocations: 4 kB / 0.7636 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-06/0.004931, allocations: 0 / 0.7636 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.004951, allocations: 3.938 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.004962, allocations: 7.984 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.004965, allocations: 0 / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.773e-06/0.004972, allocations: 4.859 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004972, allocations: 2.594 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.19e-05/0.005064, allocations: 12 kB / 0.7637 GB, free: 2.691 MB / 0.7136 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 7.171e-05/0.005136, allocations: 76.42 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.095e-05/0.005187, allocations: 24.83 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.005188, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.005199, allocations: 17.52 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.345e-05/0.005293, allocations: 20.45 kB / 0.7638 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.005614, allocations: 122.8 kB / 0.7639 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.687e-05/0.005641, allocations: 56.98 kB / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.005672, allocations: 11.62 kB / 0.764 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.005724, allocations: 63.36 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.005724, allocations: 0 / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.001971/0.007695, allocations: 0.6824 MB / 0.7647 GB, free: 1.609 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.699178272392601]