Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.001047/0.001047, allocations: 93.06 kB / 19.65 MB, free: 280 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.001547/0.001547, allocations: 169 kB / 23.02 MB, free: 1.547 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.9336/0.9336, allocations: 177.1 MB / 203.4 MB, free: 5.211 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.102/2.102, allocations: 429.5 MB / 0.6732 GB, free: 4.074 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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.8781 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.798e-05, allocations: 7.188 kB / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002295/0.002333, allocations: 0.7679 MB / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003819, allocations: 0.9281 MB / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.003893, allocations: 0 / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.003936, allocations: 5.094 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.004062, allocations: 28.78 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.004358, allocations: 39.83 kB / 0.8799 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004538, allocations: 103.6 kB / 0.88 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.004671, allocations: 17.02 kB / 0.88 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.004825, allocations: 63.88 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.004931, allocations: 33.02 kB / 0.8801 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.004957, allocations: 8 kB / 0.8801 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.005024, allocations: 15.98 kB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.005053, allocations: 17.02 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.005097, allocations: 27.97 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.005287, allocations: 79.66 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.005292, allocations: 0.7188 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.804e-06/0.005294, allocations: 0 / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.0053, allocations: 1.625 kB / 0.8802 GB, free: 4.27 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007975/0.006098, allocations: 429.2 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.00616, allocations: 9.125 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.006558, allocations: 46.14 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.006701, allocations: 126.1 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.006718, allocations: 4.375 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.006743, allocations: 8.312 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.007006, allocations: 122.3 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.007015, allocations: 3.406 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.00703, allocations: 384 / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.007042, allocations: 4.359 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.007136, allocations: 35.91 kB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.007751, allocations: 454.4 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.008015, allocations: 102 kB / 0.8815 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.008078, allocations: 32.73 kB / 0.8815 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.008096, allocations: 4 kB / 0.8815 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.00812, allocations: 33.39 kB / 0.8816 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.008123, allocations: 0 / 0.8816 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002901/0.008413, allocations: 83.16 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.008461, allocations: 77.11 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.008865, allocations: 189.4 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.008882, allocations: 29.7 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.008961, allocations: 147.8 kB / 0.8821 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.008978, allocations: 19.8 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.009036, allocations: 39.45 kB / 0.8821 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.009172, allocations: 496.1 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.009221, allocations: 23.97 kB / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.009272, allocations: 31.36 kB / 0.8827 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.907e-05/0.009371, allocations: 59.3 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.009374, allocations: 0 / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001645/0.009539, allocations: 93.48 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.009558, allocations: 4 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.009563, allocations: 0 / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.00958, allocations: 0 / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.009704, allocations: 23.97 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.009711, allocations: 4 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.009772, allocations: 11.95 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.009784, allocations: 7.984 kB / 0.8829 GB, free: 1.328 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.13e-05/0.009876, allocations: 164.5 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.009928, allocations: 12.42 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.01018, allocations: 113.5 kB / 0.8831 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01019, allocations: 4 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.0102, allocations: 4 kB / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.0102, allocations: 0 / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.01054, allocations: 160.4 kB / 0.8833 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.01054, allocations: 4 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.01079, allocations: 19.98 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.01079, allocations: 0 / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.01081, allocations: 4 kB / 0.8833 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.01082, allocations: 0 / 0.8833 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.01083, allocations: 4 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.01125, allocations: 370.9 kB / 0.8837 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.01134, allocations: 15.94 kB / 0.8837 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.01137, allocations: 4 kB / 0.8837 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.01158, allocations: 11.98 kB / 0.8837 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.01166, allocations: 11.98 kB / 0.8837 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.01167, allocations: 0 / 0.8837 GB, free: 380 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.905e-05/0.01174, allocations: 149.7 kB / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01174, allocations: 0 / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001926/0.01193, allocations: 27.89 kB / 0.8839 GB, free: 204 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0001187/0.01205, allocations: 95.25 kB / 0.884 GB, free: 96 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.0122, allocations: 55.59 kB / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0122, allocations: 0 / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.01227, allocations: 39.72 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.01258, allocations: 31.84 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.013, allocations: 222 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.01304, allocations: 63.34 kB / 0.8844 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.822e-05/0.01309, allocations: 12.72 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.01314, allocations: 16.5 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/0.01314, allocations: 0 / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.003534/0.01668, allocations: 1.911 MB / 0.8863 GB, free: 13.72 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.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.2687326008453965]