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.001026/0.001026, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.002191/0.002191, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.02/3.02, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 10.69 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3588, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00247/0.3613, allocations: 1.362 MB / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1739/0.5353, allocations: 136 MB / 1.192 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.5354, allocations: 0 / 1.192 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.5356, allocations: 19.86 kB / 1.192 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.5358, allocations: 47.69 kB / 1.192 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.5362, allocations: 151.5 kB / 1.192 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.5364, allocations: 143.5 kB / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.5366, allocations: 29.03 kB / 1.192 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.5369, allocations: 139.7 kB / 1.193 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.537, allocations: 59.75 kB / 1.193 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.537, allocations: 4 kB / 1.193 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.5373, allocations: 155.7 kB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.5374, allocations: 31.89 kB / 1.193 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.5374, allocations: 41.64 kB / 1.193 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.5376, allocations: 140 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5376, allocations: 0 / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5376, allocations: 0 / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5377, allocations: 0 / 1.193 GB, free: 10.62 MB / 0.9512 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.0007938/0.5385, allocations: 458.9 kB / 1.193 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5385, allocations: 8.031 kB / 1.193 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005783/0.5391, allocations: 59.75 kB / 1.194 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.5393, allocations: 194.8 kB / 1.194 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5393, allocations: 8 kB / 1.194 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.5394, allocations: 8 kB / 1.194 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.5398, allocations: 193.8 kB / 1.194 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5399, allocations: 0 / 1.194 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.5399, allocations: 15.94 kB / 1.194 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5399, allocations: 0 / 1.194 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.5404, allocations: 163.8 kB / 1.194 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.5414, allocations: 0.8285 MB / 1.195 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.5418, allocations: 146.4 kB / 1.195 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.5421, allocations: 92.8 kB / 1.195 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.5421, allocations: 0 / 1.195 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5422, allocations: 34.56 kB / 1.195 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.5422, allocations: 0 / 1.195 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.001774/0.544, allocations: 499.2 kB / 1.196 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.544, allocations: 55.41 kB / 1.196 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.5441, allocations: 155.8 kB / 1.196 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.5442, allocations: 25.7 kB / 1.196 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.5443, allocations: 108 kB / 1.196 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.5443, allocations: 27.64 kB / 1.196 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.5443, allocations: 4 kB / 1.196 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5444, allocations: 322.8 kB / 1.196 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.5447, allocations: 79.94 kB / 1.196 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.5449, allocations: 112.2 kB / 1.197 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.5452, allocations: 87.89 kB / 1.197 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5452, allocations: 3.984 kB / 1.197 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009414/0.5461, allocations: 302.1 kB / 1.197 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5461, allocations: 14.33 kB / 1.197 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5462, allocations: 3.938 kB / 1.197 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.5467, allocations: 84.89 kB / 1.197 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.5469, allocations: 39.95 kB / 1.197 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.5489, allocations: 1.549 MB / 1.199 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.5491, allocations: 31.89 kB / 1.199 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.5491, allocations: 7.984 kB / 1.199 GB, free: 4.527 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.5493, allocations: 125.7 kB / 1.199 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.5493, allocations: 7.906 kB / 1.199 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.5503, allocations: 338.8 kB / 1.199 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5503, allocations: 0 / 1.199 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.5503, allocations: 0 / 1.199 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5503, allocations: 0 / 1.199 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.5506, allocations: 241.5 kB / 1.199 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5506, allocations: 0 / 1.199 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.5508, allocations: 43.95 kB / 1.199 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.5513, allocations: 84.77 kB / 1.199 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.5513, allocations: 7.938 kB / 1.199 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.553, allocations: 1.571 MB / 1.201 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.553, allocations: 4.031 kB / 1.201 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/0.554, allocations: 401.5 kB / 1.201 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.5541, allocations: 108.9 kB / 1.201 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.5541, allocations: 3.953 kB / 1.201 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.5543, allocations: 23.98 kB / 1.201 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.5544, allocations: 7.984 kB / 1.201 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.5544, allocations: 11.98 kB / 1.201 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.487e-05/0.5545, allocations: 114.1 kB / 1.202 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5545, allocations: 4 kB / 1.202 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000345/0.5549, allocations: 43.94 kB / 1.202 GB, free: 1.172 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.5551, allocations: 115.2 kB / 1.202 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008451/0.5559, allocations: 327.1 kB / 1.202 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5559, allocations: 0 / 1.202 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.5564, allocations: 246.5 kB / 1.202 GB, free: 476 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.5568, allocations: 15.98 kB / 1.202 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.5576, allocations: 388.7 kB / 1.203 GB, free: 48 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.5579, allocations: 0.7088 MB / 1.203 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.5581, allocations: 20.88 kB / 1.203 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.5581, allocations: 27.36 kB / 1.203 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.5582, allocations: 0 / 1.203 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.006285/0.5644, allocations: 2.84 MB / 1.206 GB, free: 12.45 MB / 0.9669 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 -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/jenkins/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