Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001005/0.001005, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001131/0.001131, allocations: 169 kB / 23.27 MB, free: 1.219 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.9303/0.9303, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.274/2.274, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.927e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001532/0.001551, allocations: 1.333 MB / 0.891 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002552, allocations: 0.8845 MB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.002577, allocations: 4 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.002594, allocations: 0 / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.955e-05/0.002633, allocations: 3.938 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.003114, allocations: 203.2 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.00317, allocations: 27.84 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.039e-05/0.003201, allocations: 0 / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.003253, allocations: 11.98 kB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.003296, allocations: 7.938 kB / 0.8922 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.003308, allocations: 0 / 0.8922 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.003662, allocations: 235.6 kB / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.003678, allocations: 0 / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.003695, allocations: 4 kB / 0.8924 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.003933, allocations: 203.4 kB / 0.8926 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003936, allocations: 0 / 0.8926 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003936, allocations: 4 kB / 0.8926 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.00394, allocations: 0 / 0.8926 GB, free: 6.848 MB / 0.8542 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.0002996/0.004239, allocations: 388 kB / 0.8929 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.004271, allocations: 8.031 kB / 0.893 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.00443, allocations: 24.86 kB / 0.893 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.326e-05/0.004483, allocations: 108.6 kB / 0.8931 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.004491, allocations: 384 / 0.8931 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.004498, allocations: 4.375 kB / 0.8931 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.738e-05/0.004575, allocations: 71.92 kB / 0.8932 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.004582, allocations: 3.938 kB / 0.8932 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.00459, allocations: 8 kB / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004594, allocations: 0 / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/0.004619, allocations: 15.92 kB / 0.8932 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.048e-05/0.004709, allocations: 101.2 kB / 0.8933 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.005129, allocations: 131.1 kB / 0.8934 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.005151, allocations: 31.59 kB / 0.8934 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.886e-05/0.00522, allocations: 16 kB / 0.8935 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.00524, allocations: 37.39 kB / 0.8935 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005241, allocations: 0 / 0.8935 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001018/0.005342, allocations: 61.61 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.005367, allocations: 55.34 kB / 0.8936 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.262e-05/0.005419, allocations: 149.9 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.005428, allocations: 29.7 kB / 0.8938 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.005456, allocations: 131 kB / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.005477, allocations: 7.906 kB / 0.8939 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.005504, allocations: 27.36 kB / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.005619, allocations: 496.1 kB / 0.8944 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.005628, allocations: 4 kB / 0.8944 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-06/0.005638, allocations: 11.98 kB / 0.8944 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.005665, allocations: 23.62 kB / 0.8944 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.005666, allocations: 0 / 0.8944 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.781e-05/0.005714, allocations: 45.69 kB / 0.8945 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005725, allocations: 6.656 kB / 0.8945 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.005728, allocations: 0 / 0.8945 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.005737, allocations: 8 kB / 0.8945 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.333e-05/0.00577, allocations: 15.92 kB / 0.8945 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.005772, allocations: 0 / 0.8945 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.316e-05/0.005786, allocations: 0 / 0.8945 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.00579, allocations: 4 kB / 0.8945 GB, free: 4.664 MB / 0.8542 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 6.494e-05/0.005855, allocations: 152.6 kB / 0.8947 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.005862, allocations: 4 kB / 0.8947 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.005978, allocations: 81.45 kB / 0.8947 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.005979, allocations: 0 / 0.8947 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005981, allocations: 3.938 kB / 0.8947 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.005985, allocations: 3.984 kB / 0.8948 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.349e-05/0.006048, allocations: 101.2 kB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006049, allocations: 4 kB / 0.8949 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.006071, allocations: 8 kB / 0.8949 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006072, allocations: 0 / 0.8949 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.006076, allocations: 4 kB / 0.8949 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006077, allocations: 7.938 kB / 0.8949 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006077, allocations: 0 / 0.8949 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.568e-05/0.006143, allocations: 100.4 kB / 0.895 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.006163, allocations: 8 kB / 0.895 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-06/0.00617, allocations: 0 / 0.895 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.00619, allocations: 4 kB / 0.895 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.006202, allocations: 7.984 kB / 0.895 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.006205, allocations: 0 / 0.895 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.006238, allocations: 123.1 kB / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006238, allocations: 0 / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001574/0.006395, allocations: 51.97 kB / 0.8952 GB, free: 3.941 MB / 0.8542 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 (5): * Single equations (assignments): 5 * 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.000166/0.006561, allocations: 171.1 kB / 0.8953 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.143e-05/0.006633, allocations: 35.61 kB / 0.8953 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.006634, allocations: 0 / 0.8953 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.006653, allocations: 15.69 kB / 0.8954 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.006803, allocations: 11.98 kB / 0.8954 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.007199, allocations: 130.5 kB / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.809e-05/0.007227, allocations: 59.28 kB / 0.8956 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.007261, allocations: 8 kB / 0.8956 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.007315, allocations: 78.19 kB / 0.8956 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of SimCode: time 4.1e-07/0.007315, allocations: 4 kB / 0.8956 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of Templates: time 0.0029/0.01022, allocations: 1.443 MB / 0.8971 GB, free: 1.941 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.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.326199123635888]