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: "" <> 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.008346/0.008346, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001935/0.001935, allocations: 195.1 kB / 16.68 MB, free: 5.957 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 64.12 kB / 1.054 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.945, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00328/0.9483, allocations: 1.925 MB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1611/1.11, allocations: 155.4 MB / 1.361 GB, free: 15.66 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/1.11, allocations: 7.938 kB / 1.361 GB, free: 15.66 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/1.11, allocations: 23.73 kB / 1.361 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/1.11, allocations: 79.41 kB / 1.361 GB, free: 15.55 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/1.111, allocations: 267.1 kB / 1.361 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003963/1.112, allocations: 263.1 kB / 1.361 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/1.112, allocations: 80.56 kB / 1.362 GB, free: 14.96 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/1.113, allocations: 250.2 kB / 1.362 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/1.113, allocations: 95.59 kB / 1.362 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/1.114, allocations: 16 kB / 1.362 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/1.114, allocations: 179.7 kB / 1.362 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/1.114, allocations: 35.91 kB / 1.362 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/1.114, allocations: 99.52 kB / 1.362 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/1.115, allocations: 287.1 kB / 1.362 GB, free: 14.04 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.115, allocations: 0 / 1.362 GB, free: 14.04 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.683e-06/1.115, allocations: 0 / 1.362 GB, free: 14.04 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.115, allocations: 0 / 1.362 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.001056/1.116, allocations: 0.5261 MB / 1.363 GB, free: 13.46 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.116, allocations: 12.03 kB / 1.363 GB, free: 13.45 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/1.116, allocations: 50.55 kB / 1.363 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/1.117, allocations: 83.64 kB / 1.363 GB, free: 13.31 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/1.117, allocations: 230.7 kB / 1.363 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.117, allocations: 38.03 kB / 1.363 GB, free: 13 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/1.117, allocations: 16 kB / 1.363 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/1.118, allocations: 262.5 kB / 1.364 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.118, allocations: 7.938 kB / 1.364 GB, free: 12.69 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/1.118, allocations: 8 kB / 1.364 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.118, allocations: 4 kB / 1.364 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/1.119, allocations: 167.8 kB / 1.364 GB, free: 12.52 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/1.121, allocations: 1.188 MB / 1.365 GB, free: 11.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/1.121, allocations: 206.6 kB / 1.365 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/1.122, allocations: 72.81 kB / 1.365 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/1.122, allocations: 7.984 kB / 1.365 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.122, allocations: 34.56 kB / 1.365 GB, free: 10.91 MB / 1.092 GB Notification: Performance of pre-optimization done (n=12): time 2.294e-06/1.122, allocations: 0 / 1.365 GB, free: 10.91 MB / 1.092 GB Notification: Performance of matching and sorting (n=12): time 0.002724/1.124, allocations: 0.6219 MB / 1.366 GB, free: 10.24 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/1.125, allocations: 55.41 kB / 1.366 GB, free: 10.18 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/1.125, allocations: 219 kB / 1.366 GB, free: 9.949 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/1.125, allocations: 25.7 kB / 1.366 GB, free: 9.918 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.125, allocations: 140 kB / 1.366 GB, free: 9.777 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/1.125, allocations: 43.44 kB / 1.366 GB, free: 9.734 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/1.125, allocations: 49.59 kB / 1.366 GB, free: 9.68 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.125, allocations: 330.8 kB / 1.367 GB, free: 9.348 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/1.125, allocations: 71.94 kB / 1.367 GB, free: 9.277 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/1.126, allocations: 131.6 kB / 1.367 GB, free: 9.121 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/1.126, allocations: 202.2 kB / 1.367 GB, free: 8.902 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.126, allocations: 4 kB / 1.367 GB, free: 8.898 MB / 1.092 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001442/1.128, allocations: 366.8 kB / 1.367 GB, free: 8.527 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.128, allocations: 10.17 kB / 1.367 GB, free: 8.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.128, allocations: 4 kB / 1.367 GB, free: 8.516 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.129, allocations: 153.7 kB / 1.368 GB, free: 8.359 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.129, allocations: 47.89 kB / 1.368 GB, free: 8.312 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/1.134, allocations: 3.238 MB / 1.371 GB, free: 4.789 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/1.134, allocations: 39.67 kB / 1.371 GB, free: 4.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/1.134, allocations: 11.92 kB / 1.371 GB, free: 4.738 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.0001751/1.134, allocations: 133.8 kB / 1.371 GB, free: 4.598 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/1.134, allocations: 15.81 kB / 1.371 GB, free: 4.582 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/1.136, allocations: 372.2 kB / 1.371 GB, free: 4.203 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.136, allocations: 0 / 1.371 GB, free: 4.203 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/1.136, allocations: 4 kB / 1.371 GB, free: 4.199 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.136, allocations: 0 / 1.371 GB, free: 4.199 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/1.136, allocations: 293.2 kB / 1.372 GB, free: 3.863 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.136, allocations: 0 / 1.372 GB, free: 3.863 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/1.136, allocations: 19.98 kB / 1.372 GB, free: 3.844 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008431/1.137, allocations: 141.7 kB / 1.372 GB, free: 3.699 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/1.137, allocations: 4 kB / 1.372 GB, free: 3.695 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/1.141, allocations: 3.301 MB / 1.375 GB, free: 108 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.141, allocations: 4.031 kB / 1.375 GB, free: 104 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/1.142, allocations: 431.5 kB / 1.375 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.142, allocations: 112.8 kB / 1.376 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/1.142, allocations: 4 kB / 1.376 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/1.143, allocations: 11.98 kB / 1.376 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/1.143, allocations: 19.97 kB / 1.376 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/1.143, allocations: 4 kB / 1.376 GB, free: 15.49 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001782/1.143, allocations: 167.2 kB / 1.376 GB, free: 15.33 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.613e-06/1.143, allocations: 0 / 1.376 GB, free: 15.33 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004321/1.143, allocations: 79.78 kB / 1.376 GB, free: 15.25 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.001633/1.145, allocations: 0.9753 MB / 1.377 GB, free: 14.24 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001068/1.146, allocations: 453.5 kB / 1.377 GB, free: 13.77 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.146, allocations: 0 / 1.377 GB, free: 13.77 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006593/1.147, allocations: 349.2 kB / 1.378 GB, free: 13.4 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/1.147, allocations: 79.8 kB / 1.378 GB, free: 13.33 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/1.153, allocations: 2.515 MB / 1.38 GB, free: 10.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.153, allocations: 0.7363 MB / 1.381 GB, free: 9.918 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000179/1.153, allocations: 37.88 kB / 1.381 GB, free: 9.883 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/1.153, allocations: 55.41 kB / 1.381 GB, free: 9.832 MB / 1.107 GB Notification: Performance of SimCode: time 6.01e-07/1.153, allocations: 0 / 1.381 GB, free: 9.832 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/1.188, allocations: 7.453 MB / 1.388 GB, free: 2.617 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.72, allocations: 13.75 kB / 1.388 GB, free: 2.605 MB / 1.107 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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