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.001012/0.001012, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001675/0.001675, allocations: 165 kB / 23.02 MB, free: 1.551 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.9257/0.9257, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.02/2.02, allocations: 429.5 MB / 0.6732 GB, free: 4.008 MB / 0.6355 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.172e-06/1.172e-06, allocations: 0.5469 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.351e-05, allocations: 6.188 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00143/0.001444, allocations: 1.331 MB / 0.8795 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.002462, allocations: 0.8948 MB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.002483, allocations: 1.094 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.002501, allocations: 0 / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.00254, allocations: 6.062 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.003042, allocations: 207.2 kB / 0.8806 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.003092, allocations: 18.34 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.003127, allocations: 7.984 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.003173, allocations: 7.938 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/0.003219, allocations: 7.984 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.003232, allocations: 0 / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.00351, allocations: 227.6 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.003522, allocations: 7.984 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.00354, allocations: 8.703 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.003756, allocations: 199.4 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003759, allocations: 1.656 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00376, allocations: 0 / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003763, allocations: 0 / 0.881 GB, free: 3.402 MB / 0.8386 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.0003372/0.0041, allocations: 384.3 kB / 0.8814 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.00414, allocations: 12.53 kB / 0.8814 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.004352, allocations: 30.19 kB / 0.8814 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.272e-05/0.004414, allocations: 104.6 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004425, allocations: 1.969 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.004435, allocations: 4.375 kB / 0.8815 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.004541, allocations: 71.89 kB / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.00455, allocations: 3.938 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.004559, allocations: 4 kB / 0.8816 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.004565, allocations: 3.938 kB / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.004601, allocations: 11.98 kB / 0.8816 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.004716, allocations: 124.6 kB / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.005197, allocations: 143 kB / 0.8819 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.005224, allocations: 15.69 kB / 0.8819 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.674e-05/0.005311, allocations: 19.92 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.005336, allocations: 37.39 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005337, allocations: 0 / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001454/0.005482, allocations: 65.58 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.005503, allocations: 51.41 kB / 0.8821 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.005567, allocations: 153.9 kB / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.00558, allocations: 33.7 kB / 0.8822 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.005791, allocations: 126.9 kB / 0.8824 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.005821, allocations: 7.906 kB / 0.8824 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.005851, allocations: 23.38 kB / 0.8824 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.005973, allocations: 0.4885 MB / 0.8829 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.005991, allocations: 11.94 kB / 0.8829 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.006004, allocations: 4 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.006049, allocations: 31.67 kB / 0.8829 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006051, allocations: 0 / 0.8829 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.59e-05/0.006117, allocations: 49.69 kB / 0.883 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.006131, allocations: 4 kB / 0.883 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.006138, allocations: 0 / 0.883 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.006157, allocations: 7.938 kB / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.006205, allocations: 4 kB / 0.883 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.006214, allocations: 3.938 kB / 0.883 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.006231, allocations: 8 kB / 0.883 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.006239, allocations: 7.984 kB / 0.883 GB, free: 1.172 MB / 0.8386 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.949e-05/0.006308, allocations: 156.6 kB / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.006317, allocations: 4 kB / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.006477, allocations: 69.2 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.006482, allocations: 11.94 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.006487, allocations: 0 / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.006493, allocations: 3.938 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.016e-05/0.006573, allocations: 120.6 kB / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006574, allocations: 0 / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.006599, allocations: 8 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.006601, allocations: 0 / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.00661, allocations: 0 / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006611, allocations: 3.938 kB / 0.8834 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.006614, allocations: 7.938 kB / 0.8834 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.214e-05/0.006706, allocations: 92.72 kB / 0.8834 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.006737, allocations: 11.98 kB / 0.8835 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.006749, allocations: 0 / 0.8835 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.006774, allocations: 4 kB / 0.8835 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.006797, allocations: 11.92 kB / 0.8835 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.006803, allocations: 3.984 kB / 0.8835 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.00684, allocations: 123.2 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.00684, allocations: 0 / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001822/0.007022, allocations: 47.88 kB / 0.8836 GB, free: 436 kB / 0.8386 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.0002061/0.007228, allocations: 167.2 kB / 0.8838 GB, free: 260 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.714e-05/0.007316, allocations: 35.62 kB / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.007317, allocations: 0 / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-05/0.007337, allocations: 27.67 kB / 0.8839 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.007476, allocations: 8.25 kB / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.008041, allocations: 142.3 kB / 0.884 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.242e-05/0.008093, allocations: 55.34 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.015e-05/0.008143, allocations: 16 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.008171, allocations: 8.5 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/0.008173, allocations: 0 / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.002803/0.01098, allocations: 1.271 MB / 0.8853 GB, free: 14.67 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.332532223779708]