Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 108 kB / 16.37 MB, free: 6.477 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.001353/0.001354, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 66.17 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2333, allocations: 140.4 MB / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi): time 0.002954/0.2363, allocations: 1.94 MB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5886/0.8249, allocations: 153.5 MB / 1.103 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.8251, allocations: 1.781 kB / 1.103 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.8252, allocations: 30.34 kB / 1.103 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.8256, allocations: 63.14 kB / 1.103 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.8262, allocations: 222.3 kB / 1.103 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.8265, allocations: 210.2 kB / 1.103 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.8267, allocations: 69.64 kB / 1.104 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.8279, allocations: 212.9 kB / 1.104 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.828, allocations: 96.23 kB / 1.104 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.8281, allocations: 14.22 kB / 1.104 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.8285, allocations: 178.5 kB / 1.104 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.8285, allocations: 41.44 kB / 1.104 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.8287, allocations: 85.28 kB / 1.104 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.8291, allocations: 278.2 kB / 1.104 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8291, allocations: 0 / 1.104 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8291, allocations: 0 / 1.104 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.8291, allocations: 1.203 kB / 1.104 GB, free: 5.387 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001033/0.8302, allocations: 0.5042 MB / 1.105 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.8302, allocations: 9.375 kB / 1.105 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.8312, allocations: 84.52 kB / 1.105 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.8315, allocations: 225.4 kB / 1.105 GB, free: 20.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.8315, allocations: 23.34 kB / 1.105 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.8316, allocations: 16.34 kB / 1.105 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.8321, allocations: 255.1 kB / 1.105 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.8322, allocations: 3.938 kB / 1.105 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.8322, allocations: 13.58 kB / 1.106 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.8322, allocations: 5.156 kB / 1.106 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.8328, allocations: 186.9 kB / 1.106 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.8341, allocations: 1.002 MB / 1.107 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.8346, allocations: 165.6 kB / 1.107 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.8349, allocations: 83.86 kB / 1.107 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.8349, allocations: 2.062 kB / 1.107 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.8349, allocations: 39.56 kB / 1.107 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.8349, allocations: 0 / 1.107 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0007377/0.8357, allocations: 235.8 kB / 1.107 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.8357, allocations: 53.41 kB / 1.107 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.836, allocations: 208 kB / 1.107 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.836, allocations: 30.8 kB / 1.107 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.8361, allocations: 132.8 kB / 1.108 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.8361, allocations: 41.33 kB / 1.108 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.8362, allocations: 55.03 kB / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8363, allocations: 330.8 kB / 1.108 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.8366, allocations: 72.28 kB / 1.108 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.8369, allocations: 137.7 kB / 1.108 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.8373, allocations: 193.6 kB / 1.108 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8373, allocations: 0 / 1.108 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000664/0.838, allocations: 244 kB / 1.109 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.838, allocations: 9.547 kB / 1.109 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8381, allocations: 0.8125 kB / 1.109 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8381, allocations: 2.688 kB / 1.109 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.8384, allocations: 51.47 kB / 1.109 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.8385, allocations: 3.906 kB / 1.109 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.8388, allocations: 44 kB / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.8389, allocations: 13.75 kB / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * 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 0.0001199/0.839, allocations: 130 kB / 1.109 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.839, allocations: 15.62 kB / 1.109 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/0.8398, allocations: 287.3 kB / 1.109 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8398, allocations: 4.328 kB / 1.109 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8398, allocations: 1.938 kB / 1.109 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8398, allocations: 1.844 kB / 1.109 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.8401, allocations: 292.6 kB / 1.109 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8402, allocations: 0 / 1.109 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.8405, allocations: 51.25 kB / 1.109 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.8405, allocations: 1.062 kB / 1.109 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.8405, allocations: 8.562 kB / 1.109 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.8405, allocations: 3.016 kB / 1.109 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8405, allocations: 6.344 kB / 1.109 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.8412, allocations: 343 kB / 1.11 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.8413, allocations: 114.7 kB / 1.11 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.8413, allocations: 5.781 kB / 1.11 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.8416, allocations: 18.16 kB / 1.11 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.8417, allocations: 13.89 kB / 1.11 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.8417, allocations: 12.03 kB / 1.11 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001696/0.8419, allocations: 154.7 kB / 1.11 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8419, allocations: 1.125 kB / 1.11 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003584/0.8422, allocations: 58.02 kB / 1.11 GB, free: 18.23 MB / 0.8731 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 (23): * Single equations (assignments): 23 * 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.0001879/0.8424, allocations: 125.5 kB / 1.11 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000612/0.8431, allocations: 196.9 kB / 1.11 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8431, allocations: 320 / 1.11 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.8434, allocations: 114 kB / 1.111 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.8438, allocations: 48.03 kB / 1.111 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/0.8446, allocations: 360.7 kB / 1.111 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.845, allocations: 0.7322 MB / 1.112 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.8452, allocations: 50.77 kB / 1.112 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.8453, allocations: 28.8 kB / 1.112 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.8453, allocations: 2.891 kB / 1.112 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.007804/0.8531, allocations: 3.467 MB / 1.115 GB, free: 17.02 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches