Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005193/0.005193, allocations: 101 kB / 15.73 MB, free: 6.059 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.001338/0.001338, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7448, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003197/0.748, allocations: 1.931 MB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1837/0.9318, allocations: 155.4 MB / 1.374 GB, free: 4.098 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.932, allocations: 0 / 1.374 GB, free: 4.098 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.9322, allocations: 27.72 kB / 1.374 GB, free: 4.07 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.9325, allocations: 75.44 kB / 1.374 GB, free: 3.996 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.9332, allocations: 263.1 kB / 1.374 GB, free: 3.738 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.9336, allocations: 263.1 kB / 1.374 GB, free: 3.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.9338, allocations: 70.39 kB / 1.374 GB, free: 3.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.9352, allocations: 253.7 kB / 1.375 GB, free: 3.188 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.9354, allocations: 95.59 kB / 1.375 GB, free: 3.094 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.9354, allocations: 12 kB / 1.375 GB, free: 3.082 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.9358, allocations: 175.8 kB / 1.375 GB, free: 2.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.9359, allocations: 47.83 kB / 1.375 GB, free: 2.863 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.936, allocations: 91.53 kB / 1.375 GB, free: 2.773 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.9365, allocations: 294.5 kB / 1.375 GB, free: 2.488 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.9365, allocations: 0 / 1.375 GB, free: 2.488 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9365, allocations: 0 / 1.375 GB, free: 2.488 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.9365, allocations: 0 / 1.375 GB, free: 2.488 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.001016/0.9376, allocations: 0.5297 MB / 1.376 GB, free: 1.91 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.9376, allocations: 8.031 kB / 1.376 GB, free: 1.902 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/0.9377, allocations: 58.48 kB / 1.376 GB, free: 1.836 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008694/0.9386, allocations: 75.83 kB / 1.376 GB, free: 1.762 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.9389, allocations: 238.7 kB / 1.376 GB, free: 1.488 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.939, allocations: 42.02 kB / 1.376 GB, free: 1.441 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.939, allocations: 23.94 kB / 1.376 GB, free: 1.418 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.9396, allocations: 266.5 kB / 1.377 GB, free: 1.129 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9397, allocations: 0 / 1.377 GB, free: 1.129 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.9397, allocations: 8 kB / 1.377 GB, free: 1.121 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.9397, allocations: 4 kB / 1.377 GB, free: 1.117 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.9402, allocations: 163.8 kB / 1.377 GB, free: 0.957 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.9421, allocations: 1.181 MB / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.9429, allocations: 210.6 kB / 1.378 GB, free: 15.48 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.9431, allocations: 72.81 kB / 1.378 GB, free: 15.41 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.9432, allocations: 7.984 kB / 1.378 GB, free: 15.4 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.9432, allocations: 34.56 kB / 1.378 GB, free: 15.36 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.9432, allocations: 0 / 1.378 GB, free: 15.36 MB / 1.107 GB Notification: Performance of matching and sorting (n=12): time 0.002857/0.9461, allocations: 0.6223 MB / 1.379 GB, free: 14.69 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.9461, allocations: 59.34 kB / 1.379 GB, free: 14.62 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.9464, allocations: 218.7 kB / 1.379 GB, free: 14.39 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.9465, allocations: 33.7 kB / 1.379 GB, free: 14.35 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.9466, allocations: 144.2 kB / 1.379 GB, free: 14.21 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.9467, allocations: 39.64 kB / 1.379 GB, free: 14.17 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.9468, allocations: 45.69 kB / 1.379 GB, free: 14.12 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.947, allocations: 330.8 kB / 1.38 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.9473, allocations: 71.94 kB / 1.38 GB, free: 13.71 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.9476, allocations: 129.7 kB / 1.38 GB, free: 13.56 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.9481, allocations: 205.8 kB / 1.38 GB, free: 13.34 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9481, allocations: 0 / 1.38 GB, free: 13.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001545/0.9496, allocations: 370.8 kB / 1.38 GB, free: 12.96 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9496, allocations: 4 kB / 1.38 GB, free: 12.96 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9497, allocations: 7.984 kB / 1.38 GB, free: 12.95 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.9508, allocations: 161.7 kB / 1.381 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.9511, allocations: 35.95 kB / 1.381 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004612/0.9557, allocations: 3.27 MB / 1.384 GB, free: 9.199 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.956, allocations: 31.77 kB / 1.384 GB, free: 9.168 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.9561, allocations: 20.05 kB / 1.384 GB, free: 9.148 MB / 1.107 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.0001543/0.9562, allocations: 130.2 kB / 1.384 GB, free: 9.012 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.9563, allocations: 15.91 kB / 1.384 GB, free: 8.996 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.9577, allocations: 368.4 kB / 1.384 GB, free: 8.617 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.9578, allocations: 4 kB / 1.384 GB, free: 8.613 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.9578, allocations: 0 / 1.384 GB, free: 8.613 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9578, allocations: 0 / 1.384 GB, free: 8.613 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.9582, allocations: 281.3 kB / 1.385 GB, free: 8.289 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9582, allocations: 4 kB / 1.385 GB, free: 8.285 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.9583, allocations: 23.98 kB / 1.385 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009034/0.9592, allocations: 133.6 kB / 1.385 GB, free: 8.125 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.9593, allocations: 7.938 kB / 1.385 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004316/0.9636, allocations: 3.297 MB / 1.388 GB, free: 4.527 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9636, allocations: 4.062 kB / 1.388 GB, free: 4.523 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.965, allocations: 430.3 kB / 1.388 GB, free: 4.082 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.9651, allocations: 116.9 kB / 1.389 GB, free: 3.949 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.9652, allocations: 7.938 kB / 1.389 GB, free: 3.941 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.9655, allocations: 15.98 kB / 1.389 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.9656, allocations: 19.97 kB / 1.389 GB, free: 3.906 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.9656, allocations: 8 kB / 1.389 GB, free: 3.898 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002211/0.9658, allocations: 159.2 kB / 1.389 GB, free: 3.742 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9658, allocations: 0 / 1.389 GB, free: 3.742 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004403/0.9663, allocations: 67.94 kB / 1.389 GB, free: 3.676 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.001833/0.9681, allocations: 0.9774 MB / 1.39 GB, free: 2.664 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.9693, allocations: 461.6 kB / 1.39 GB, free: 2.188 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9693, allocations: 0 / 1.39 GB, free: 2.188 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.97, allocations: 361.1 kB / 1.391 GB, free: 1.809 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.9705, allocations: 66.3 kB / 1.391 GB, free: 1.746 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.9759, allocations: 2.529 MB / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.9763, allocations: 0.7401 MB / 1.394 GB, free: 14.32 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.9765, allocations: 33.89 kB / 1.394 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.9766, allocations: 55.41 kB / 1.394 GB, free: 14.23 MB / 1.123 GB Notification: Performance of SimCode: time 5.91e-07/0.9766, allocations: 4 kB / 1.394 GB, free: 14.23 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/1.014, allocations: 7.284 MB / 1.401 GB, free: 7.152 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.98, allocations: 6.641 kB / 1.401 GB, free: 7.148 MB / 1.123 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches