Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008986, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00121/0.00121, allocations: 168.7 kB / 15.95 MB, free: 204 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.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 10.41 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3854, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00236/0.3878, allocations: 1.584 MB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1749/0.5627, allocations: 141.2 MB / 1.197 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.5631, allocations: 4 kB / 1.197 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.5633, allocations: 19.8 kB / 1.198 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.5637, allocations: 67.55 kB / 1.198 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.5646, allocations: 215.4 kB / 1.198 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.565, allocations: 243.1 kB / 1.198 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.5652, allocations: 54.39 kB / 1.198 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006021/0.5658, allocations: 179.5 kB / 1.198 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.566, allocations: 83.61 kB / 1.198 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.566, allocations: 8 kB / 1.198 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.5665, allocations: 171.7 kB / 1.198 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.5666, allocations: 27.91 kB / 1.199 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.5666, allocations: 57.58 kB / 1.199 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.567, allocations: 199.7 kB / 1.199 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.567, allocations: 0 / 1.199 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.916e-06/0.567, allocations: 0 / 1.199 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.5671, allocations: 0 / 1.199 GB, free: 4.801 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009949/0.5681, allocations: 0.4966 MB / 1.199 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5681, allocations: 8.031 kB / 1.199 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.569, allocations: 87.69 kB / 1.199 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.5693, allocations: 224 kB / 1.2 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.5694, allocations: 41.97 kB / 1.2 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.5695, allocations: 20 kB / 1.2 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.57, allocations: 266.5 kB / 1.2 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.57, allocations: 0 / 1.2 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.5701, allocations: 12 kB / 1.2 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.5701, allocations: 7.953 kB / 1.2 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.5705, allocations: 179.8 kB / 1.2 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.5722, allocations: 1.188 MB / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.573, allocations: 206.7 kB / 1.201 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.5732, allocations: 76.75 kB / 1.201 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.5732, allocations: 7.984 kB / 1.201 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5732, allocations: 34.56 kB / 1.202 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.5732, allocations: 4 kB / 1.202 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.002486/0.5757, allocations: 0.6414 MB / 1.202 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.5758, allocations: 59.41 kB / 1.202 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.5761, allocations: 214.9 kB / 1.202 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.5761, allocations: 25.7 kB / 1.202 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.5762, allocations: 140 kB / 1.203 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.5763, allocations: 39.39 kB / 1.203 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.5763, allocations: 8 kB / 1.203 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5764, allocations: 326.8 kB / 1.203 GB, free: 224 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.5766, allocations: 75.95 kB / 1.203 GB, free: 148 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.5769, allocations: 146 kB / 1.203 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.5772, allocations: 84 kB / 1.203 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.5772, allocations: 0 / 1.203 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001332/0.5785, allocations: 388.2 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5785, allocations: 4 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5786, allocations: 4 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009774/0.5795, allocations: 169.7 kB / 1.204 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.5798, allocations: 35.97 kB / 1.204 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.5834, allocations: 3.032 MB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.5838, allocations: 39.67 kB / 1.207 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.5838, allocations: 11.95 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.584, allocations: 137.8 kB / 1.207 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.5841, allocations: 15.81 kB / 1.207 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.5853, allocations: 376.3 kB / 1.207 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.5853, allocations: 4 kB / 1.207 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.5853, allocations: 0 / 1.207 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5853, allocations: 3.984 kB / 1.207 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.5857, allocations: 281.3 kB / 1.208 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5857, allocations: 0 / 1.208 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.5858, allocations: 27.98 kB / 1.208 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008344/0.5866, allocations: 165.7 kB / 1.208 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.5867, allocations: 11.94 kB / 1.208 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.59, allocations: 3.069 MB / 1.211 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.59, allocations: 0 / 1.211 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.5912, allocations: 438.3 kB / 1.211 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.5914, allocations: 128.7 kB / 1.211 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.5914, allocations: 4 kB / 1.211 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.5917, allocations: 19.98 kB / 1.211 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.5918, allocations: 23.91 kB / 1.211 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.5918, allocations: 4 kB / 1.211 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001867/0.592, allocations: 159.2 kB / 1.212 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/0.592, allocations: 0 / 1.212 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004852/0.5925, allocations: 68 kB / 1.212 GB, free: 6.637 MB / 0.9669 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002382/0.5927, allocations: 119.2 kB / 1.212 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009983/0.5937, allocations: 449.5 kB / 1.212 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5937, allocations: 0 / 1.212 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.5943, allocations: 363.3 kB / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.5948, allocations: 59.83 kB / 1.213 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.5958, allocations: 0.5025 MB / 1.213 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.5961, allocations: 0.7401 MB / 1.214 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.5964, allocations: 33.94 kB / 1.214 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.5964, allocations: 27.36 kB / 1.214 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.5964, allocations: 0 / 1.214 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of Templates: time 0.009217/0.6057, allocations: 4.79 MB / 1.218 GB, free: 15.52 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches