Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_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_9_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.001236/0.001236, allocations: 104.9 kB / 16.35 MB, free: 5.824 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.001179/0.001179, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.15 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 1.998/1.998, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 66.69 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2291, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002677/0.2318, allocations: 1.672 MB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5758/0.8077, allocations: 149.7 MB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.8078, allocations: 1.719 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.8081, allocations: 23.61 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.8084, allocations: 54.36 kB / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.8089, allocations: 182 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.8092, allocations: 163.3 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.8093, allocations: 28.22 kB / 1.099 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.8105, allocations: 195.8 kB / 1.1 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.8106, allocations: 64.84 kB / 1.1 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.8106, allocations: 8.781 kB / 1.1 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.811, allocations: 161.1 kB / 1.1 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.8111, allocations: 26.45 kB / 1.1 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.873e-05/0.8112, allocations: 55.17 kB / 1.1 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.8116, allocations: 211.1 kB / 1.1 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8116, allocations: 4.875 kB / 1.1 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8116, allocations: 0.6094 kB / 1.1 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.8116, allocations: 0 / 1.1 GB, free: 5.969 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001006/0.8126, allocations: 467.2 kB / 1.1 GB, free: 21.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.8127, allocations: 9.562 kB / 1.101 GB, free: 21.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/0.8133, allocations: 51.16 kB / 1.101 GB, free: 21.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.8135, allocations: 207.5 kB / 1.101 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.8135, allocations: 7.031 kB / 1.101 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.8135, allocations: 12.34 kB / 1.101 GB, free: 21.35 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.814, allocations: 183.5 kB / 1.101 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.814, allocations: 1.609 kB / 1.101 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.814, allocations: 5.031 kB / 1.101 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.814, allocations: 6.75 kB / 1.101 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.8145, allocations: 143.5 kB / 1.101 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.8156, allocations: 0.8223 MB / 1.102 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.816, allocations: 133.6 kB / 1.102 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.8162, allocations: 78.55 kB / 1.102 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.8163, allocations: 5.375 kB / 1.102 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.8163, allocations: 34.56 kB / 1.102 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.8163, allocations: 0 / 1.102 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001767/0.8181, allocations: 457.9 kB / 1.103 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.8181, allocations: 52.47 kB / 1.103 GB, free: 20.31 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.8182, allocations: 155.7 kB / 1.103 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.8183, allocations: 33.08 kB / 1.103 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.8183, allocations: 108.2 kB / 1.103 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.8184, allocations: 29.75 kB / 1.103 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.8184, allocations: 35.5 kB / 1.103 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8185, allocations: 323.4 kB / 1.103 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.8188, allocations: 72.78 kB / 1.103 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.819, allocations: 104.1 kB / 1.103 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.8195, allocations: 181.6 kB / 1.104 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8195, allocations: 0 / 1.104 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009669/0.8205, allocations: 280.8 kB / 1.104 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8205, allocations: 5.344 kB / 1.104 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8205, allocations: 5.031 kB / 1.104 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.821, allocations: 88.91 kB / 1.104 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.8213, allocations: 31.66 kB / 1.104 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.8232, allocations: 1.655 MB / 1.106 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.8234, allocations: 29.3 kB / 1.106 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.8234, allocations: 5.891 kB / 1.106 GB, free: 18.17 MB / 0.8731 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.0001081/0.8236, allocations: 123.4 kB / 1.106 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.8236, allocations: 14.12 kB / 1.106 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009822/0.8246, allocations: 312.9 kB / 1.106 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8246, allocations: 6.125 kB / 1.106 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.8246, allocations: 0 / 1.106 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.8246, allocations: 1.266 kB / 1.106 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.8249, allocations: 241.4 kB / 1.106 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8249, allocations: 0 / 1.106 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.8251, allocations: 37.27 kB / 1.106 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003937/0.8255, allocations: 75.7 kB / 1.106 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.8255, allocations: 2.859 kB / 1.106 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.8272, allocations: 1.687 MB / 1.108 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8272, allocations: 3.938 kB / 1.108 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.8282, allocations: 377.9 kB / 1.108 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.8283, allocations: 114.6 kB / 1.109 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.8283, allocations: 4.703 kB / 1.109 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.8285, allocations: 19.22 kB / 1.109 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.8286, allocations: 13.62 kB / 1.109 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.8286, allocations: 7.766 kB / 1.109 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.401e-05/0.8287, allocations: 113.8 kB / 1.109 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8287, allocations: 0.6875 kB / 1.109 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003261/0.829, allocations: 44.3 kB / 1.109 GB, free: 16.04 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 (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.0001739/0.8292, allocations: 116.4 kB / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007954/0.83, allocations: 305.1 kB / 1.109 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.83, allocations: 0 / 1.109 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.8305, allocations: 237.1 kB / 1.109 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.8308, allocations: 22.06 kB / 1.109 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.8316, allocations: 306.6 kB / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.8318, allocations: 0.7077 MB / 1.11 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.832, allocations: 29.69 kB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.832, allocations: 18.16 kB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.832, allocations: 0 / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.006788/0.8388, allocations: 3.217 MB / 1.114 GB, free: 14.65 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches