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.001517/0.001517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001774/0.001774, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.53/1.53, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.662/2.662, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.832, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001785/0.8338, allocations: 0.8169 MB / 0.9499 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009176/0.8347, allocations: 0.8763 MB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.8348, allocations: 1.312 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.8348, allocations: 3.938 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.8349, allocations: 18.22 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.8351, allocations: 26.31 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.8352, allocations: 100.8 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.8353, allocations: 20.45 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.8354, allocations: 45.11 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.8354, allocations: 50.5 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.8355, allocations: 8.219 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.8355, allocations: 7.156 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.8355, allocations: 23.03 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.8356, allocations: 37.36 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.8357, allocations: 88.03 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8357, allocations: 1.469 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8357, allocations: 0 / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.8357, allocations: 0 / 0.9512 GB, free: 7.449 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.0005959/0.8363, allocations: 414 kB / 0.9516 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.8363, allocations: 9.594 kB / 0.9516 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.8364, allocations: 8.969 kB / 0.9516 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.8365, allocations: 184.3 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.8365, allocations: 7.125 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.8365, allocations: 7.125 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.8368, allocations: 119.1 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8368, allocations: 4.172 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.8368, allocations: 9.312 kB / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8368, allocations: 1.375 kB / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.8372, allocations: 104.1 kB / 0.952 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.8376, allocations: 443.9 kB / 0.9524 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.838, allocations: 119 kB / 0.9525 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.8382, allocations: 55.83 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.8382, allocations: 1.188 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.8383, allocations: 39.67 kB / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.8383, allocations: 0 / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0005934/0.8389, allocations: 170.6 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.8389, allocations: 86.22 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.839, allocations: 148.2 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.839, allocations: 25.7 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.8391, allocations: 96.02 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.8391, allocations: 18.14 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.8391, allocations: 32.52 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.8392, allocations: 315.9 kB / 0.9535 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.8394, allocations: 51.73 kB / 0.9535 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.8395, allocations: 63.94 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.8398, allocations: 99.67 kB / 0.9537 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8399, allocations: 4 kB / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003613/0.8402, allocations: 147.9 kB / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.8402, allocations: 5.031 kB / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8403, allocations: 1.344 kB / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8403, allocations: 0 / 0.9538 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.8405, allocations: 25.94 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8405, allocations: 1.312 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.8406, allocations: 23.89 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.8406, allocations: 2.406 kB / 0.9539 GB, free: 4.98 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 9.018e-05/0.8407, allocations: 121.6 kB / 0.954 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.8408, allocations: 11.73 kB / 0.954 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.8413, allocations: 187.9 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.8414, allocations: 1.125 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8414, allocations: 1.188 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.8414, allocations: 5 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.8416, allocations: 203.8 kB / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.8416, allocations: 0 / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.8418, allocations: 40.41 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8418, allocations: 1.469 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.8418, allocations: 1.469 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.8418, allocations: 5.344 kB / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8418, allocations: 0 / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.8423, allocations: 336.5 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.8424, allocations: 97.78 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.8424, allocations: 6.531 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.8426, allocations: 14.48 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.8426, allocations: 16.11 kB / 0.9549 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.8427, allocations: 3.688 kB / 0.9549 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.8427, allocations: 114.2 kB / 0.955 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8427, allocations: 4 kB / 0.955 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002744/0.843, allocations: 15.81 kB / 0.955 GB, free: 3.965 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.0001147/0.8431, allocations: 102.3 kB / 0.9551 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.8436, allocations: 117.8 kB / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8436, allocations: 1.938 kB / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.8438, allocations: 68.58 kB / 0.9553 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.8443, allocations: 21.53 kB / 0.9553 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.8448, allocations: 266.2 kB / 0.9556 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.8449, allocations: 0.6994 MB / 0.9563 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.503e-05/0.845, allocations: 12.02 kB / 0.9563 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.8451, allocations: 21.7 kB / 0.9563 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8451, allocations: 4 kB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.00471/0.8498, allocations: 1.67 MB / 0.9579 GB, free: 1.988 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