Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001542/0.001542, allocations: 191.6 kB / 17.31 MB, free: 5.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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.382/2.382, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 69.92 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003046/0.3411, allocations: 1.673 MB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7797/1.121, allocations: 149.7 MB / 1.175 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/1.121, allocations: 5 kB / 1.175 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/1.121, allocations: 24.59 kB / 1.175 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/1.121, allocations: 48.98 kB / 1.175 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/1.122, allocations: 188.7 kB / 1.175 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/1.122, allocations: 163.8 kB / 1.175 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/1.122, allocations: 30.72 kB / 1.175 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/1.124, allocations: 186 kB / 1.175 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/1.124, allocations: 65.2 kB / 1.175 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/1.124, allocations: 9.906 kB / 1.175 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/1.124, allocations: 159.5 kB / 1.175 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/1.124, allocations: 26.52 kB / 1.175 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/1.124, allocations: 58.48 kB / 1.175 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/1.125, allocations: 208.4 kB / 1.176 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.125, allocations: 0 / 1.176 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/1.125, allocations: 0 / 1.176 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.125, allocations: 0 / 1.176 GB, free: 9.465 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008874/1.126, allocations: 463.4 kB / 1.176 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.126, allocations: 9.062 kB / 1.176 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/1.126, allocations: 60.05 kB / 1.176 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/1.127, allocations: 208.2 kB / 1.176 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/1.127, allocations: 11.78 kB / 1.176 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/1.127, allocations: 12.88 kB / 1.176 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/1.127, allocations: 187 kB / 1.177 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.127, allocations: 1.156 kB / 1.177 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/1.127, allocations: 9.219 kB / 1.177 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/1.127, allocations: 2.219 kB / 1.177 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/1.128, allocations: 140.6 kB / 1.177 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/1.129, allocations: 0.8325 MB / 1.178 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/1.129, allocations: 130 kB / 1.178 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/1.129, allocations: 84.11 kB / 1.178 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/1.129, allocations: 1.094 kB / 1.178 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/1.129, allocations: 37.62 kB / 1.178 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/1.129, allocations: 0 / 1.178 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.001866/1.131, allocations: 460.7 kB / 1.178 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/1.131, allocations: 56.5 kB / 1.178 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/1.132, allocations: 157.9 kB / 1.178 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/1.132, allocations: 26.61 kB / 1.178 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/1.132, allocations: 108.2 kB / 1.179 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/1.132, allocations: 32.5 kB / 1.179 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/1.132, allocations: 33.8 kB / 1.179 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.132, allocations: 322.3 kB / 1.179 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/1.132, allocations: 71.09 kB / 1.179 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/1.133, allocations: 99.59 kB / 1.179 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/1.133, allocations: 180.5 kB / 1.179 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.133, allocations: 0 / 1.179 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001005/1.134, allocations: 278.8 kB / 1.18 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.134, allocations: 5.469 kB / 1.18 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.134, allocations: 5.062 kB / 1.18 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/1.135, allocations: 85.77 kB / 1.18 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/1.135, allocations: 37.64 kB / 1.18 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/1.137, allocations: 1.65 MB / 1.181 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/1.137, allocations: 27.59 kB / 1.181 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/1.137, allocations: 16.34 kB / 1.181 GB, free: 4.742 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.138, allocations: 122.1 kB / 1.181 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/1.138, allocations: 17.95 kB / 1.181 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/1.139, allocations: 304.2 kB / 1.182 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.139, allocations: 9.344 kB / 1.182 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/1.139, allocations: 0 / 1.182 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.139, allocations: 1.094 kB / 1.182 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/1.139, allocations: 245.2 kB / 1.182 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.139, allocations: 3.938 kB / 1.182 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/1.139, allocations: 36.05 kB / 1.182 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/1.14, allocations: 70.72 kB / 1.182 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/1.14, allocations: 9.078 kB / 1.182 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/1.142, allocations: 1.679 MB / 1.184 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.142, allocations: 0 / 1.184 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/1.143, allocations: 381.2 kB / 1.184 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/1.143, allocations: 107.5 kB / 1.184 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/1.143, allocations: 5.125 kB / 1.184 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/1.143, allocations: 13.02 kB / 1.184 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/1.143, allocations: 22.38 kB / 1.184 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/1.143, allocations: 3.25 kB / 1.184 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 9.132e-05/1.143, allocations: 116.8 kB / 1.184 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/1.143, allocations: 0 / 1.184 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003641/1.144, allocations: 44.91 kB / 1.184 GB, free: 1.969 MB / 0.8887 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/1.144, allocations: 119.4 kB / 1.184 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008963/1.145, allocations: 304.3 kB / 1.185 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.145, allocations: 1.125 kB / 1.185 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005242/1.145, allocations: 238.3 kB / 1.185 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/1.146, allocations: 23.02 kB / 1.185 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/1.146, allocations: 316.2 kB / 1.185 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/1.147, allocations: 0.7097 MB / 1.186 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001338/1.147, allocations: 26.62 kB / 1.186 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/1.147, allocations: 23.3 kB / 1.186 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of SimCode: time 6.31e-07/1.147, allocations: 0 / 1.186 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of Templates: time 0.007009/1.154, allocations: 3.205 MB / 1.189 GB, free: 14.88 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches