Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_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.001579/0.001579, allocations: 112.5 kB / 15.73 MB, free: 76 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.001859/0.001859, allocations: 191.2 kB / 16.66 MB, free: 6.582 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 62.34 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.233, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002985/0.236, allocations: 1.914 MB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1501/0.3861, allocations: 155.4 MB / 1.241 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3863, allocations: 3.938 kB / 1.241 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.3865, allocations: 27.72 kB / 1.241 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.3869, allocations: 67.44 kB / 1.241 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.3876, allocations: 280.7 kB / 1.241 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.388, allocations: 259.2 kB / 1.242 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3882, allocations: 66.36 kB / 1.242 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.3894, allocations: 256.8 kB / 1.242 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.3896, allocations: 91.59 kB / 1.242 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.3897, allocations: 20 kB / 1.242 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.39, allocations: 183.7 kB / 1.242 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.3901, allocations: 47.83 kB / 1.242 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3902, allocations: 91.53 kB / 1.242 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.3907, allocations: 286.9 kB / 1.243 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3907, allocations: 4 kB / 1.243 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3907, allocations: 0 / 1.243 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3907, allocations: 0 / 1.243 GB, free: 2.449 MB / 0.9981 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.0009614/0.3917, allocations: 0.5335 MB / 1.243 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3917, allocations: 8.031 kB / 1.243 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.3918, allocations: 50.55 kB / 1.243 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008652/0.3927, allocations: 87.77 kB / 1.243 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.393, allocations: 235.8 kB / 1.244 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.3931, allocations: 38.03 kB / 1.244 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.3931, allocations: 20 kB / 1.244 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.3937, allocations: 266.5 kB / 1.244 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3937, allocations: 4 kB / 1.244 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.3937, allocations: 8 kB / 1.244 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3938, allocations: 4 kB / 1.244 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.3942, allocations: 163.8 kB / 1.244 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.396, allocations: 1.173 MB / 1.245 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.3967, allocations: 206.6 kB / 1.245 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3969, allocations: 72.81 kB / 1.245 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.397, allocations: 0 / 1.245 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.397, allocations: 38.56 kB / 1.246 GB, free: 15.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.397, allocations: 0 / 1.246 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.002728/0.3997, allocations: 0.6336 MB / 1.246 GB, free: 14.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.3998, allocations: 55.41 kB / 1.246 GB, free: 14.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.4001, allocations: 214.9 kB / 1.246 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.4001, allocations: 25.7 kB / 1.246 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.4002, allocations: 136.3 kB / 1.247 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.4003, allocations: 47.58 kB / 1.247 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/0.4004, allocations: 53.64 kB / 1.247 GB, free: 14.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4005, allocations: 334.8 kB / 1.247 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.4007, allocations: 63.95 kB / 1.247 GB, free: 13.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.401, allocations: 138.8 kB / 1.247 GB, free: 13.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.4014, allocations: 201 kB / 1.247 GB, free: 13.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4014, allocations: 3.938 kB / 1.247 GB, free: 13.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001468/0.4029, allocations: 374.8 kB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.4029, allocations: 9.406 kB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.403, allocations: 3.938 kB / 1.248 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.4041, allocations: 161.8 kB / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.4043, allocations: 39.91 kB / 1.248 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.4081, allocations: 3.251 MB / 1.251 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.4085, allocations: 35.77 kB / 1.251 GB, free: 9.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.4085, allocations: 15.92 kB / 1.251 GB, free: 9.133 MB / 1.014 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.0001484/0.4087, allocations: 133.8 kB / 1.251 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.4088, allocations: 15.91 kB / 1.251 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.4101, allocations: 378.4 kB / 1.252 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4101, allocations: 4 kB / 1.252 GB, free: 8.594 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4101, allocations: 0 / 1.252 GB, free: 8.594 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4101, allocations: 3.938 kB / 1.252 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.4105, allocations: 273.4 kB / 1.252 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4105, allocations: 3.984 kB / 1.252 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.4106, allocations: 23.98 kB / 1.252 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000872/0.4115, allocations: 141.6 kB / 1.252 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.4115, allocations: 8 kB / 1.252 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/0.4152, allocations: 3.289 MB / 1.255 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4152, allocations: 0 / 1.255 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.4165, allocations: 436.8 kB / 1.256 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.4166, allocations: 116.9 kB / 1.256 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4167, allocations: 8.062 kB / 1.256 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.417, allocations: 15.98 kB / 1.256 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.4171, allocations: 23.97 kB / 1.256 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4171, allocations: 4 kB / 1.256 GB, free: 3.887 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001844/0.4173, allocations: 163.2 kB / 1.256 GB, free: 3.727 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4173, allocations: 0 / 1.256 GB, free: 3.727 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004342/0.4177, allocations: 71.89 kB / 1.256 GB, free: 3.656 MB / 1.014 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.001651/0.4194, allocations: 0.9738 MB / 1.257 GB, free: 2.648 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.4205, allocations: 453.7 kB / 1.257 GB, free: 2.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.4205, allocations: 4 kB / 1.257 GB, free: 2.176 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.4212, allocations: 353.2 kB / 1.258 GB, free: 1.805 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.4217, allocations: 59.97 kB / 1.258 GB, free: 1.746 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4982/0.9199, allocations: 2.525 MB / 1.26 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.9201, allocations: 0.7334 MB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.9203, allocations: 33.33 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.9204, allocations: 54.75 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.9204, allocations: 3.938 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.9592, allocations: 7.288 MB / 1.268 GB, free: 172.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/12.07, allocations: 7.109 kB / 1.268 GB, free: 172.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches