Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_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_10_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.009799/0.009799, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.00212/0.00212, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3685, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002645/0.3712, allocations: 1.674 MB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9033/1.275, allocations: 149.7 MB / 1.314 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/1.275, allocations: 2.156 kB / 1.314 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/1.275, allocations: 24.2 kB / 1.314 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00035/1.275, allocations: 59.38 kB / 1.314 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/1.276, allocations: 182.8 kB / 1.315 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/1.276, allocations: 163.7 kB / 1.315 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/1.277, allocations: 35.56 kB / 1.315 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/1.278, allocations: 191.9 kB / 1.315 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/1.278, allocations: 63.11 kB / 1.315 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/1.278, allocations: 9.719 kB / 1.315 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/1.278, allocations: 164.3 kB / 1.315 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/1.278, allocations: 25.77 kB / 1.315 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/1.279, allocations: 54.14 kB / 1.315 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004797/1.279, allocations: 214.2 kB / 1.316 GB, free: 13.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.279, allocations: 0 / 1.316 GB, free: 13.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/1.279, allocations: 0 / 1.316 GB, free: 13.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.279, allocations: 0 / 1.316 GB, free: 13.09 MB / 1.014 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.001021/1.28, allocations: 472.3 kB / 1.316 GB, free: 12.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.28, allocations: 9.906 kB / 1.316 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/1.281, allocations: 52.59 kB / 1.316 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/1.281, allocations: 210.1 kB / 1.316 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/1.281, allocations: 11.34 kB / 1.316 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/1.281, allocations: 8.469 kB / 1.316 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/1.282, allocations: 180.5 kB / 1.316 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/1.282, allocations: 8.5 kB / 1.316 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/1.282, allocations: 1.75 kB / 1.316 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.282, allocations: 1.562 kB / 1.316 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/1.282, allocations: 143.3 kB / 1.317 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/1.284, allocations: 0.8251 MB / 1.317 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/1.284, allocations: 128.8 kB / 1.318 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/1.284, allocations: 82.86 kB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/1.284, allocations: 2.828 kB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.284, allocations: 36.39 kB / 1.318 GB, free: 11.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/1.284, allocations: 0 / 1.318 GB, free: 11.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.002085/1.287, allocations: 462.7 kB / 1.318 GB, free: 11.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/1.287, allocations: 53.39 kB / 1.318 GB, free: 11.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/1.287, allocations: 153.6 kB / 1.318 GB, free: 11.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/1.287, allocations: 29.98 kB / 1.318 GB, free: 11.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/1.287, allocations: 107.5 kB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/1.287, allocations: 29.34 kB / 1.318 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/1.287, allocations: 34.83 kB / 1.318 GB, free: 11.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.287, allocations: 323.9 kB / 1.319 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/1.288, allocations: 74.22 kB / 1.319 GB, free: 10.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/1.288, allocations: 104 kB / 1.319 GB, free: 10.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/1.289, allocations: 179.9 kB / 1.319 GB, free: 10.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/1.289, allocations: 0 / 1.319 GB, free: 10.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001217/1.29, allocations: 283.4 kB / 1.319 GB, free: 10.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.29, allocations: 5.906 kB / 1.319 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.29, allocations: 5.375 kB / 1.319 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/1.29, allocations: 86.14 kB / 1.319 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/1.291, allocations: 32.47 kB / 1.32 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.293, allocations: 1.669 MB / 1.321 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/1.293, allocations: 27.62 kB / 1.321 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/1.293, allocations: 10 kB / 1.321 GB, free: 9.215 MB / 1.014 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.0001374/1.294, allocations: 123.4 kB / 1.321 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/1.294, allocations: 9.297 kB / 1.321 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/1.295, allocations: 316.5 kB / 1.322 GB, free: 9.035 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.295, allocations: 5.375 kB / 1.322 GB, free: 9.031 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/1.295, allocations: 0 / 1.322 GB, free: 9.031 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.295, allocations: 2.234 kB / 1.322 GB, free: 9.031 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/1.295, allocations: 239.3 kB / 1.322 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.295, allocations: 0.6094 kB / 1.322 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/1.295, allocations: 30.14 kB / 1.322 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/1.296, allocations: 78.59 kB / 1.322 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/1.296, allocations: 6.047 kB / 1.322 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/1.298, allocations: 1.679 MB / 1.324 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.298, allocations: 0 / 1.324 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.299, allocations: 386.8 kB / 1.324 GB, free: 7.258 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/1.299, allocations: 107.4 kB / 1.324 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/1.3, allocations: 6.312 kB / 1.324 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/1.3, allocations: 17.64 kB / 1.324 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/1.3, allocations: 13.83 kB / 1.324 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/1.3, allocations: 5.859 kB / 1.324 GB, free: 7.148 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.514e-05/1.3, allocations: 112.9 kB / 1.324 GB, free: 7.074 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.61e-07/1.3, allocations: 0 / 1.324 GB, free: 7.074 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003863/1.3, allocations: 48.86 kB / 1.324 GB, free: 7.07 MB / 1.014 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.0002125/1.301, allocations: 110.9 kB / 1.324 GB, free: 6.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009839/1.302, allocations: 312.9 kB / 1.325 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.302, allocations: 0 / 1.325 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/1.302, allocations: 234.1 kB / 1.325 GB, free: 6.734 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/1.303, allocations: 41.66 kB / 1.325 GB, free: 6.711 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/1.304, allocations: 312.2 kB / 1.325 GB, free: 6.523 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.304, allocations: 0.711 MB / 1.326 GB, free: 5.824 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001507/1.304, allocations: 22.31 kB / 1.326 GB, free: 5.816 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/1.304, allocations: 22.42 kB / 1.326 GB, free: 5.805 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.304, allocations: 0 / 1.326 GB, free: 5.805 MB / 1.014 GB Notification: Performance of Templates: time 0.007629/1.312, allocations: 3.237 MB / 1.329 GB, free: 5.586 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches