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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_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.004947/0.004947, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001291/0.001291, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.83 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3076, allocations: 162.2 MB / 1.241 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003145/0.3108, allocations: 1.914 MB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.79/1.101, allocations: 155.4 MB / 1.395 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/1.101, allocations: 1.312 kB / 1.395 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/1.101, allocations: 29.05 kB / 1.395 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/1.102, allocations: 76.78 kB / 1.395 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008955/1.103, allocations: 260 kB / 1.395 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/1.103, allocations: 263.4 kB / 1.396 GB, free: 352 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/1.103, allocations: 78 kB / 1.396 GB, free: 304 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/1.105, allocations: 249 kB / 1.396 GB, free: 200 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/1.105, allocations: 93.72 kB / 1.396 GB, free: 136 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/1.105, allocations: 18.5 kB / 1.396 GB, free: 132 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/1.106, allocations: 186.9 kB / 1.396 GB, free: 40 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/1.106, allocations: 40.61 kB / 1.396 GB, free: 8 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/1.106, allocations: 93.64 kB / 1.396 GB, free: 15.94 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006782/1.107, allocations: 290.5 kB / 1.397 GB, free: 15.76 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.107, allocations: 0 / 1.397 GB, free: 15.76 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.442e-06/1.107, allocations: 0 / 1.397 GB, free: 15.76 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.291e-06/1.107, allocations: 0 / 1.397 GB, free: 15.76 MB / 1.107 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.001556/1.108, allocations: 0.5269 MB / 1.397 GB, free: 15.27 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.108, allocations: 10.31 kB / 1.397 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/1.108, allocations: 52.36 kB / 1.397 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.11, allocations: 88.77 kB / 1.397 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/1.11, allocations: 230.3 kB / 1.398 GB, free: 14.93 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/1.11, allocations: 41.84 kB / 1.398 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/1.111, allocations: 15.19 kB / 1.398 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/1.111, allocations: 264.1 kB / 1.398 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/1.111, allocations: 0 / 1.398 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/1.112, allocations: 10.44 kB / 1.398 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.112, allocations: 5.438 kB / 1.398 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/1.112, allocations: 173.2 kB / 1.398 GB, free: 14.59 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/1.115, allocations: 1.184 MB / 1.399 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/1.117, allocations: 204.1 kB / 1.399 GB, free: 13.38 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/1.117, allocations: 70.41 kB / 1.399 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/1.117, allocations: 1.188 kB / 1.399 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/1.117, allocations: 36.44 kB / 1.4 GB, free: 13.3 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 2.234e-06/1.117, allocations: 0 / 1.4 GB, free: 13.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=12): time 0.004587/1.122, allocations: 0.6322 MB / 1.4 GB, free: 12.85 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.122, allocations: 52.75 kB / 1.4 GB, free: 12.79 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/1.122, allocations: 220.2 kB / 1.4 GB, free: 12.62 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/1.122, allocations: 26.92 kB / 1.4 GB, free: 12.59 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/1.122, allocations: 136.5 kB / 1.401 GB, free: 12.46 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/1.123, allocations: 41.81 kB / 1.401 GB, free: 12.43 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.123, allocations: 49.17 kB / 1.401 GB, free: 12.39 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002145/1.123, allocations: 334.5 kB / 1.401 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/1.123, allocations: 67.8 kB / 1.401 GB, free: 12.02 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/1.124, allocations: 133.4 kB / 1.401 GB, free: 11.91 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/1.125, allocations: 200.1 kB / 1.401 GB, free: 11.77 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.125, allocations: 1.094 kB / 1.401 GB, free: 11.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002541/1.127, allocations: 375.1 kB / 1.402 GB, free: 11.55 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.127, allocations: 7.469 kB / 1.402 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.127, allocations: 6.562 kB / 1.402 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/1.129, allocations: 166.1 kB / 1.402 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/1.13, allocations: 34.38 kB / 1.402 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/1.136, allocations: 3.256 MB / 1.405 GB, free: 8.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/1.137, allocations: 34.05 kB / 1.405 GB, free: 8.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/1.137, allocations: 13.16 kB / 1.405 GB, free: 8.246 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.0002326/1.137, allocations: 137.5 kB / 1.405 GB, free: 8.109 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/1.137, allocations: 17.06 kB / 1.405 GB, free: 8.102 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/1.139, allocations: 372 kB / 1.406 GB, free: 7.863 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.139, allocations: 3.125 kB / 1.406 GB, free: 7.863 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/1.139, allocations: 0 / 1.406 GB, free: 7.863 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.139, allocations: 0 / 1.406 GB, free: 7.863 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/1.14, allocations: 286.3 kB / 1.406 GB, free: 7.578 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.14, allocations: 0 / 1.406 GB, free: 7.578 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/1.14, allocations: 20.89 kB / 1.406 GB, free: 7.574 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/1.141, allocations: 148.1 kB / 1.406 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/1.141, allocations: 1.031 kB / 1.406 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006814/1.148, allocations: 3.305 MB / 1.409 GB, free: 4.281 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.148, allocations: 1.312 kB / 1.409 GB, free: 4.281 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/1.151, allocations: 433.8 kB / 1.41 GB, free: 3.984 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/1.151, allocations: 119 kB / 1.41 GB, free: 3.859 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/1.151, allocations: 6.156 kB / 1.41 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/1.152, allocations: 14.67 kB / 1.41 GB, free: 3.848 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.152, allocations: 23.84 kB / 1.41 GB, free: 3.832 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/1.152, allocations: 4.156 kB / 1.41 GB, free: 3.832 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003402/1.152, allocations: 153.9 kB / 1.41 GB, free: 3.723 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.9e-07/1.152, allocations: 0 / 1.41 GB, free: 3.723 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007652/1.153, allocations: 70.38 kB / 1.41 GB, free: 3.711 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.002826/1.156, allocations: 0.9888 MB / 1.411 GB, free: 2.863 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001885/1.158, allocations: 445.2 kB / 1.411 GB, free: 2.531 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.158, allocations: 0 / 1.411 GB, free: 2.531 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/1.159, allocations: 357.2 kB / 1.412 GB, free: 2.238 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/1.16, allocations: 72.83 kB / 1.412 GB, free: 2.195 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008934/1.169, allocations: 2.524 MB / 1.414 GB, free: 224 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/1.169, allocations: 0.7354 MB / 1.415 GB, free: 15.5 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004275/1.17, allocations: 39 kB / 1.415 GB, free: 15.48 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/1.17, allocations: 54.38 kB / 1.415 GB, free: 15.43 MB / 1.123 GB Notification: Performance of SimCode: time 7.11e-07/1.17, allocations: 0 / 1.415 GB, free: 15.43 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/1.216, allocations: 7.285 MB / 1.422 GB, free: 11.79 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.83, allocations: 10.97 kB / 1.422 GB, free: 11.78 MB / 1.123 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/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