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.000998/0.0009978, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.507/1.507, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.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.379/2.379, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7252, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001536/0.7268, allocations: 1.383 MB / 0.957 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.908, allocations: 145.8 MB / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.9082, allocations: 0 / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.9083, allocations: 15.86 kB / 1.099 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.9086, allocations: 39.77 kB / 1.1 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.9092, allocations: 167.5 kB / 1.1 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.9094, allocations: 155.5 kB / 1.1 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.9096, allocations: 35 kB / 1.1 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.9116, allocations: 175.1 kB / 1.1 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.9118, allocations: 55.77 kB / 1.1 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.9118, allocations: 4 kB / 1.1 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.9122, allocations: 163.8 kB / 1.1 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.9122, allocations: 19.86 kB / 1.1 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.091e-05/0.9123, allocations: 73.42 kB / 1.1 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.9126, allocations: 139.6 kB / 1.1 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.9126, allocations: 4 kB / 1.1 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9126, allocations: 4 kB / 1.1 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.9126, allocations: 0 / 1.1 GB, free: 10.6 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.0008892/0.9135, allocations: 456.2 kB / 1.101 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.9136, allocations: 12.03 kB / 1.101 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.9143, allocations: 52.69 kB / 1.101 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.9145, allocations: 203.8 kB / 1.101 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.9146, allocations: 12 kB / 1.101 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.9146, allocations: 4 kB / 1.101 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.9151, allocations: 201.8 kB / 1.101 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9151, allocations: 0 / 1.101 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.9152, allocations: 4 kB / 1.101 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.9152, allocations: 4 kB / 1.101 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.9157, allocations: 159.8 kB / 1.102 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.917, allocations: 0.8362 MB / 1.102 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.9174, allocations: 146.4 kB / 1.102 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.9177, allocations: 88.8 kB / 1.103 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.9178, allocations: 7.984 kB / 1.103 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.9178, allocations: 34.5 kB / 1.103 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.9178, allocations: 0 / 1.103 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.002076/0.9199, allocations: 499.2 kB / 1.103 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.9199, allocations: 55.39 kB / 1.103 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.9201, allocations: 157.4 kB / 1.103 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.9201, allocations: 29.7 kB / 1.103 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.9202, allocations: 108.2 kB / 1.103 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.9203, allocations: 27.56 kB / 1.103 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.9203, allocations: 17.72 kB / 1.103 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9204, allocations: 322.8 kB / 1.104 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.9207, allocations: 83.92 kB / 1.104 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.921, allocations: 108.2 kB / 1.104 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.9216, allocations: 200.1 kB / 1.104 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9216, allocations: 0 / 1.104 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001073/0.9227, allocations: 298.2 kB / 1.104 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.9227, allocations: 15.94 kB / 1.104 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.9227, allocations: 0 / 1.104 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.9233, allocations: 92.7 kB / 1.105 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.9236, allocations: 35.95 kB / 1.105 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.9258, allocations: 1.547 MB / 1.106 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.926, allocations: 27.91 kB / 1.106 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.926, allocations: 8 kB / 1.106 GB, free: 4.367 MB / 0.8575 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.0001402/0.9262, allocations: 133.7 kB / 1.106 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.9262, allocations: 12 kB / 1.106 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.9274, allocations: 334.9 kB / 1.107 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.9274, allocations: 4 kB / 1.107 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.9274, allocations: 0 / 1.107 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.9274, allocations: 11.88 kB / 1.107 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.9277, allocations: 233.5 kB / 1.107 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9278, allocations: 0 / 1.107 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.928, allocations: 39.95 kB / 1.107 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005309/0.9285, allocations: 84.77 kB / 1.107 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.9286, allocations: 4 kB / 1.107 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.9305, allocations: 1.575 MB / 1.108 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9305, allocations: 0 / 1.108 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.9316, allocations: 404.1 kB / 1.109 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.9317, allocations: 108.8 kB / 1.109 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.9318, allocations: 8 kB / 1.109 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.932, allocations: 19.98 kB / 1.109 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.9321, allocations: 23.91 kB / 1.109 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.9321, allocations: 0 / 1.109 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.524e-05/0.9322, allocations: 115.9 kB / 1.109 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9322, allocations: 0 / 1.109 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003352/0.9326, allocations: 40 kB / 1.109 GB, free: 1 MB / 0.8575 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.000194/0.9328, allocations: 115.4 kB / 1.109 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009576/0.9337, allocations: 326.7 kB / 1.11 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9337, allocations: 0 / 1.11 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.9344, allocations: 243.7 kB / 1.11 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.9347, allocations: 31.91 kB / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.9356, allocations: 380.5 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.9359, allocations: 0.7127 MB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.936, allocations: 19.42 kB / 1.111 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.936, allocations: 0 / 1.111 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.005438/0.9415, allocations: 2.714 MB / 1.114 GB, free: 12.4 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 -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