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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008238/0.008238, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001854/0.001854, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.88 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9108/0.9121, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003125/0.9153, allocations: 1.919 MB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1737/1.089, allocations: 155.4 MB / 1.361 GB, free: 15.66 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/1.089, allocations: 4 kB / 1.361 GB, free: 15.65 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/1.09, allocations: 23.72 kB / 1.361 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003683/1.09, allocations: 71.44 kB / 1.361 GB, free: 15.56 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007528/1.091, allocations: 274.1 kB / 1.362 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000281/1.091, allocations: 267.1 kB / 1.362 GB, free: 15.03 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/1.091, allocations: 70.19 kB / 1.362 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/1.092, allocations: 258.9 kB / 1.362 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/1.093, allocations: 95.59 kB / 1.362 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/1.093, allocations: 16 kB / 1.362 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/1.093, allocations: 179.8 kB / 1.363 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/1.093, allocations: 47.81 kB / 1.363 GB, free: 14.4 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/1.093, allocations: 91.53 kB / 1.363 GB, free: 14.31 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004257/1.094, allocations: 285 kB / 1.363 GB, free: 14.04 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.094, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.144e-06/1.094, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.166e-05/1.094, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.092 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.001026/1.095, allocations: 0.5222 MB / 1.363 GB, free: 13.46 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.095, allocations: 12.03 kB / 1.363 GB, free: 13.45 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008497/1.096, allocations: 87.66 kB / 1.364 GB, free: 13.37 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/1.096, allocations: 234.6 kB / 1.364 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/1.096, allocations: 38.03 kB / 1.364 GB, free: 13.05 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/1.096, allocations: 16 kB / 1.364 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/1.097, allocations: 262.5 kB / 1.364 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.097, allocations: 0 / 1.364 GB, free: 12.75 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/1.097, allocations: 12 kB / 1.364 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.097, allocations: 4 kB / 1.364 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/1.097, allocations: 167.8 kB / 1.364 GB, free: 12.57 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/1.099, allocations: 1.177 MB / 1.365 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007845/1.1, allocations: 202.6 kB / 1.366 GB, free: 11.11 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/1.1, allocations: 72.83 kB / 1.366 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/1.1, allocations: 3.984 kB / 1.366 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.1, allocations: 42.56 kB / 1.366 GB, free: 10.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=12): time 1.512e-06/1.1, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=12): time 0.002766/1.103, allocations: 0.6258 MB / 1.366 GB, free: 10.31 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.103, allocations: 63.34 kB / 1.366 GB, free: 10.23 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/1.103, allocations: 214.9 kB / 1.367 GB, free: 10.01 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.103, allocations: 25.7 kB / 1.367 GB, free: 9.98 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/1.103, allocations: 140 kB / 1.367 GB, free: 9.84 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/1.103, allocations: 39.45 kB / 1.367 GB, free: 9.801 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.103, allocations: 49.59 kB / 1.367 GB, free: 9.746 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.103, allocations: 334.8 kB / 1.367 GB, free: 9.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/1.104, allocations: 67.95 kB / 1.367 GB, free: 9.344 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/1.104, allocations: 127.7 kB / 1.367 GB, free: 9.191 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/1.104, allocations: 202.7 kB / 1.368 GB, free: 8.969 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.104, allocations: 0 / 1.368 GB, free: 8.969 MB / 1.092 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00148/1.106, allocations: 374.2 kB / 1.368 GB, free: 8.594 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.106, allocations: 10.03 kB / 1.368 GB, free: 8.586 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.106, allocations: 0 / 1.368 GB, free: 8.586 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.107, allocations: 165.8 kB / 1.368 GB, free: 8.418 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.107, allocations: 39.91 kB / 1.368 GB, free: 8.379 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/1.111, allocations: 3.247 MB / 1.371 GB, free: 4.848 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/1.112, allocations: 31.77 kB / 1.371 GB, free: 4.816 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/1.112, allocations: 15.98 kB / 1.371 GB, free: 4.801 MB / 1.092 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001517/1.112, allocations: 133.7 kB / 1.371 GB, free: 4.66 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/1.112, allocations: 19.78 kB / 1.371 GB, free: 4.641 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/1.113, allocations: 376.3 kB / 1.372 GB, free: 4.258 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.113, allocations: 4 kB / 1.372 GB, free: 4.254 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/1.113, allocations: 0 / 1.372 GB, free: 4.254 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.113, allocations: 0 / 1.372 GB, free: 4.254 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/1.114, allocations: 289.1 kB / 1.372 GB, free: 3.922 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.114, allocations: 0 / 1.372 GB, free: 3.922 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/1.114, allocations: 23.98 kB / 1.372 GB, free: 3.898 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008335/1.115, allocations: 137.6 kB / 1.372 GB, free: 3.758 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.115, allocations: 4 kB / 1.372 GB, free: 3.754 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/1.118, allocations: 3.3 MB / 1.375 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.118, allocations: 0 / 1.375 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.12, allocations: 430.7 kB / 1.376 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/1.12, allocations: 116.8 kB / 1.376 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/1.12, allocations: 0 / 1.376 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/1.12, allocations: 19.92 kB / 1.376 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/1.12, allocations: 19.97 kB / 1.376 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/1.12, allocations: 4 kB / 1.376 GB, free: 15.54 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001792/1.121, allocations: 163.2 kB / 1.376 GB, free: 15.38 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.41e-07/1.121, allocations: 4 kB / 1.376 GB, free: 15.38 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004341/1.121, allocations: 71.94 kB / 1.376 GB, free: 15.31 MB / 1.107 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002167/1.121, allocations: 109.9 kB / 1.376 GB, free: 15.19 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.122, allocations: 449.4 kB / 1.377 GB, free: 14.73 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.122, allocations: 4 kB / 1.377 GB, free: 14.72 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/1.123, allocations: 357.2 kB / 1.377 GB, free: 14.35 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/1.123, allocations: 70.52 kB / 1.377 GB, free: 14.29 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/1.124, allocations: 428.4 kB / 1.378 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/1.125, allocations: 0.7324 MB / 1.378 GB, free: 13.08 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001612/1.125, allocations: 37.92 kB / 1.378 GB, free: 13.05 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/1.125, allocations: 23.42 kB / 1.378 GB, free: 13.02 MB / 1.107 GB Notification: Performance of SimCode: time 2.1e-07/1.125, allocations: 0 / 1.378 GB, free: 13.02 MB / 1.107 GB Notification: Performance of Templates: time 0.009656/1.135, allocations: 5.478 MB / 1.384 GB, free: 7.609 MB / 1.107 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