Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009731, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009181/0.009181, allocations: 171 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.633/2.633, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003662, allocations: 19.92 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7941, allocations: 142.4 MB / 0.9551 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.0008402/0.7949, allocations: 493.3 kB / 0.9555 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000858/0.7958, allocations: 0.8692 MB / 0.9564 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.7959, allocations: 0 / 0.9564 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.7959, allocations: 9.391 kB / 0.9564 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.796, allocations: 5.031 kB / 0.9564 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.7962, allocations: 37.52 kB / 0.9564 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.7963, allocations: 91.89 kB / 0.9565 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.7964, allocations: 20.42 kB / 0.9565 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.7965, allocations: 35.88 kB / 0.9566 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.7966, allocations: 42.67 kB / 0.9566 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.7966, allocations: 3.531 kB / 0.9566 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.7966, allocations: 4.125 kB / 0.9566 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.7967, allocations: 18.5 kB / 0.9566 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.7967, allocations: 62.02 kB / 0.9567 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.7968, allocations: 80.64 kB / 0.9568 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7969, allocations: 5.375 kB / 0.9568 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7969, allocations: 0 / 0.9568 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7969, allocations: 0 / 0.9568 GB, free: 6.609 MB / 0.7169 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.0005933/0.7975, allocations: 409.3 kB / 0.9572 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7975, allocations: 9.844 kB / 0.9572 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.7976, allocations: 12.72 kB / 0.9572 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.7977, allocations: 172.8 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.7977, allocations: 2.406 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.7977, allocations: 11.77 kB / 0.9574 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.798, allocations: 132.3 kB / 0.9575 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7981, allocations: 192 / 0.9575 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.7981, allocations: 7.938 kB / 0.9575 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7981, allocations: 1.938 kB / 0.9575 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.7985, allocations: 119.3 kB / 0.9576 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.799, allocations: 448.3 kB / 0.958 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.7994, allocations: 130.9 kB / 0.9582 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.7996, allocations: 72.52 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.7996, allocations: 1.406 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.7996, allocations: 31.91 kB / 0.9583 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.7996, allocations: 4 kB / 0.9583 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006757/0.8003, allocations: 207.6 kB / 0.9585 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.8004, allocations: 78.48 kB / 0.9585 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.8005, allocations: 144.4 kB / 0.9587 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.8005, allocations: 27.2 kB / 0.9587 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.8005, allocations: 99.02 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.8006, allocations: 22.02 kB / 0.9588 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.8006, allocations: 19.53 kB / 0.9588 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.8007, allocations: 324.9 kB / 0.9591 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.8009, allocations: 57.14 kB / 0.9592 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.8011, allocations: 70.56 kB / 0.9593 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.8015, allocations: 130.9 kB / 0.9594 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8015, allocations: 0 / 0.9594 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004324/0.8019, allocations: 170.5 kB / 0.9596 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8019, allocations: 9.781 kB / 0.9596 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8019, allocations: 4 kB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.802, allocations: 1.156 kB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.8021, allocations: 29.81 kB / 0.9596 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.8022, allocations: 1.438 kB / 0.9596 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.8023, allocations: 20.89 kB / 0.9596 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.8023, allocations: 11.58 kB / 0.9596 GB, free: 4.133 MB / 0.7169 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 7.576e-05/0.8024, allocations: 117.4 kB / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.8025, allocations: 6.969 kB / 0.9597 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.803, allocations: 212.3 kB / 0.96 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.803, allocations: 1.375 kB / 0.96 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.803, allocations: 5.375 kB / 0.96 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.803, allocations: 7.922 kB / 0.96 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.8033, allocations: 203.6 kB / 0.9602 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8033, allocations: 5.359 kB / 0.9602 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.8034, allocations: 36.61 kB / 0.9602 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8034, allocations: 1.375 kB / 0.9602 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.8035, allocations: 1.375 kB / 0.9602 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8035, allocations: 5.359 kB / 0.9602 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8035, allocations: 4 kB / 0.9602 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.8039, allocations: 349.2 kB / 0.9605 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.804, allocations: 97.06 kB / 0.9606 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.804, allocations: 1.375 kB / 0.9606 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.8042, allocations: 24.34 kB / 0.9607 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.8043, allocations: 19.98 kB / 0.9607 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.8043, allocations: 2.75 kB / 0.9607 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.8044, allocations: 117.3 kB / 0.9608 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8044, allocations: 0 / 0.9608 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002816/0.8047, allocations: 16.5 kB / 0.9608 GB, free: 3.121 MB / 0.7169 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.000105/0.8048, allocations: 105.1 kB / 0.9609 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.8052, allocations: 133.5 kB / 0.961 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8052, allocations: 8 kB / 0.961 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.8054, allocations: 71.48 kB / 0.9611 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.8059, allocations: 30.5 kB / 0.9611 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.8064, allocations: 263.6 kB / 0.9614 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.8065, allocations: 0.6992 MB / 0.9621 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.026e-05/0.8066, allocations: 15.17 kB / 0.9621 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.8067, allocations: 13.81 kB / 0.9621 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8067, allocations: 0 / 0.9621 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.004454/0.8111, allocations: 1.579 MB / 0.9636 GB, free: 1.184 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches