Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002397/0.002397, allocations: 209.7 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.356/3.356, allocations: 0.49 GB / 0.7951 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 76.36 kB / 1.154 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3838, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003046/0.3869, allocations: 1.707 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2008/0.5877, allocations: 153 MB / 1.477 GB, free: 6.637 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.5879, allocations: 7.938 kB / 1.477 GB, free: 6.629 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.5881, allocations: 23.8 kB / 1.477 GB, free: 6.605 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.5884, allocations: 59.62 kB / 1.477 GB, free: 6.547 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.589, allocations: 183.3 kB / 1.477 GB, free: 6.367 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.5893, allocations: 163.5 kB / 1.477 GB, free: 6.207 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.5895, allocations: 25.28 kB / 1.477 GB, free: 6.184 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.591, allocations: 206.5 kB / 1.478 GB, free: 6.008 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.5912, allocations: 63.75 kB / 1.478 GB, free: 5.945 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.5912, allocations: 8 kB / 1.478 GB, free: 5.938 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.5916, allocations: 175.8 kB / 1.478 GB, free: 5.766 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.5917, allocations: 23.92 kB / 1.478 GB, free: 5.742 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.5917, allocations: 51.72 kB / 1.478 GB, free: 5.691 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.5922, allocations: 211.2 kB / 1.478 GB, free: 5.484 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5922, allocations: 4 kB / 1.478 GB, free: 5.48 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5922, allocations: 4 kB / 1.478 GB, free: 5.477 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.5922, allocations: 0 / 1.478 GB, free: 5.477 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001022/0.5933, allocations: 397.5 kB / 1.479 GB, free: 5.059 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.5933, allocations: 11.97 kB / 1.479 GB, free: 5.047 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.5934, allocations: 42.73 kB / 1.479 GB, free: 4.996 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009566/0.5943, allocations: 88.45 kB / 1.479 GB, free: 4.91 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.5946, allocations: 141 kB / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5946, allocations: 8 kB / 1.479 GB, free: 4.738 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.5947, allocations: 8 kB / 1.479 GB, free: 4.73 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.5952, allocations: 183.2 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5952, allocations: 3.938 kB / 1.479 GB, free: 4.527 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.5952, allocations: 4 kB / 1.479 GB, free: 4.523 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5952, allocations: 7.984 kB / 1.479 GB, free: 4.516 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.5957, allocations: 147.7 kB / 1.479 GB, free: 4.371 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.5971, allocations: 0.7886 MB / 1.48 GB, free: 3.512 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.5975, allocations: 126.5 kB / 1.48 GB, free: 3.379 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.5978, allocations: 80.78 kB / 1.48 GB, free: 3.297 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.5978, allocations: 4.156 kB / 1.48 GB, free: 3.293 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.5978, allocations: 30.56 kB / 1.48 GB, free: 3.254 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.5978, allocations: 0 / 1.48 GB, free: 3.254 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.002102/0.5999, allocations: 390.1 kB / 1.481 GB, free: 2.863 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.6, allocations: 55.34 kB / 1.481 GB, free: 2.797 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.6001, allocations: 159.9 kB / 1.481 GB, free: 2.633 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.6002, allocations: 25.7 kB / 1.481 GB, free: 2.602 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.6003, allocations: 100.3 kB / 1.481 GB, free: 2.5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.6003, allocations: 31.73 kB / 1.481 GB, free: 2.469 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.6004, allocations: 29.7 kB / 1.481 GB, free: 2.434 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6005, allocations: 322.8 kB / 1.481 GB, free: 2.109 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.6008, allocations: 75.92 kB / 1.481 GB, free: 2.035 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.6011, allocations: 104.1 kB / 1.481 GB, free: 1.918 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.6016, allocations: 188.1 kB / 1.482 GB, free: 1.719 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6016, allocations: 0 / 1.482 GB, free: 1.719 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001138/0.6027, allocations: 278.2 kB / 1.482 GB, free: 1.438 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.6028, allocations: 7.938 kB / 1.482 GB, free: 1.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6028, allocations: 4 kB / 1.482 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.6034, allocations: 84.89 kB / 1.482 GB, free: 1.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.6037, allocations: 31.95 kB / 1.482 GB, free: 1.309 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.6061, allocations: 1.562 MB / 1.483 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.6063, allocations: 28 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.6064, allocations: 11.92 kB / 1.484 GB, free: 15.58 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.6065, allocations: 114.4 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.6066, allocations: 11.91 kB / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.6078, allocations: 322 kB / 1.484 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6078, allocations: 0 / 1.484 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.6078, allocations: 0 / 1.484 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6078, allocations: 0 / 1.484 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.6081, allocations: 216.6 kB / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6081, allocations: 0 / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.6083, allocations: 35.95 kB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.6088, allocations: 76.72 kB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.6088, allocations: 3.938 kB / 1.484 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.6111, allocations: 1.582 MB / 1.486 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6111, allocations: 0 / 1.486 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.6123, allocations: 384.2 kB / 1.486 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6124, allocations: 23.92 kB / 1.486 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.6124, allocations: 7.984 kB / 1.486 GB, free: 12.63 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.6126, allocations: 15.92 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.6128, allocations: 15.97 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.6128, allocations: 7.938 kB / 1.486 GB, free: 12.59 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001393/0.6129, allocations: 117.1 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6129, allocations: 4 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004545/0.6134, allocations: 43.94 kB / 1.486 GB, free: 12.43 MB / 1.186 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001777/0.6151, allocations: 0.9238 MB / 1.487 GB, free: 11.48 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009416/0.6161, allocations: 299.1 kB / 1.488 GB, free: 11.18 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6161, allocations: 4 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.6166, allocations: 230.5 kB / 1.488 GB, free: 10.93 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.617, allocations: 36.06 kB / 1.488 GB, free: 10.9 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.6215, allocations: 2.058 MB / 1.49 GB, free: 8.73 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.6218, allocations: 0.7085 MB / 1.491 GB, free: 7.996 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.622, allocations: 24.97 kB / 1.491 GB, free: 7.973 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.6221, allocations: 35.42 kB / 1.491 GB, free: 7.941 MB / 1.186 GB Notification: Performance of SimCode: time 6.71e-07/0.6221, allocations: 0 / 1.491 GB, free: 7.941 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.6588, allocations: 4.889 MB / 1.495 GB, free: 3.215 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.46, allocations: 0 / 1.495 GB, free: 3.215 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.47605329588987]