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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.104 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/0.9014, allocations: 168.7 MB / 1.269 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003965/0.9054, allocations: 1.941 MB / 1.271 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.198/1.103, allocations: 155.9 MB / 1.423 GB, free: 6.785 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/1.104, allocations: 4 kB / 1.423 GB, free: 6.781 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/1.104, allocations: 27.67 kB / 1.423 GB, free: 6.754 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004332/1.104, allocations: 83.41 kB / 1.423 GB, free: 6.672 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008643/1.105, allocations: 267.1 kB / 1.423 GB, free: 6.41 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004222/1.106, allocations: 263.1 kB / 1.423 GB, free: 6.152 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/1.106, allocations: 54.39 kB / 1.424 GB, free: 6.098 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/1.107, allocations: 248.1 kB / 1.424 GB, free: 5.875 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/1.108, allocations: 95.59 kB / 1.424 GB, free: 5.781 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/1.108, allocations: 16 kB / 1.424 GB, free: 5.766 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/1.108, allocations: 183.7 kB / 1.424 GB, free: 5.586 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/1.108, allocations: 47.83 kB / 1.424 GB, free: 5.539 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/1.108, allocations: 91.58 kB / 1.424 GB, free: 5.449 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006441/1.109, allocations: 282.9 kB / 1.424 GB, free: 5.172 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.109, allocations: 3.938 kB / 1.424 GB, free: 5.168 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.193e-06/1.109, allocations: 0 / 1.424 GB, free: 5.168 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.109, allocations: 0 / 1.424 GB, free: 5.168 MB / 1.123 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.001199/1.11, allocations: 0.5375 MB / 1.425 GB, free: 4.582 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.11, allocations: 8.031 kB / 1.425 GB, free: 4.574 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/1.11, allocations: 46.55 kB / 1.425 GB, free: 4.52 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/1.111, allocations: 87.81 kB / 1.425 GB, free: 4.434 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/1.112, allocations: 237.3 kB / 1.425 GB, free: 4.164 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/1.112, allocations: 38.03 kB / 1.425 GB, free: 4.121 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/1.112, allocations: 16 kB / 1.425 GB, free: 4.105 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/1.113, allocations: 274.5 kB / 1.426 GB, free: 3.809 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/1.113, allocations: 3.938 kB / 1.426 GB, free: 3.805 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/1.113, allocations: 4 kB / 1.426 GB, free: 3.801 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.113, allocations: 8 kB / 1.426 GB, free: 3.793 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/1.113, allocations: 163.8 kB / 1.426 GB, free: 3.633 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/1.115, allocations: 1.184 MB / 1.427 GB, free: 2.371 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007998/1.116, allocations: 194.6 kB / 1.427 GB, free: 2.172 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/1.116, allocations: 68.81 kB / 1.427 GB, free: 2.102 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/1.116, allocations: 4 kB / 1.427 GB, free: 2.098 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.116, allocations: 30.56 kB / 1.427 GB, free: 2.059 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.983e-06/1.116, allocations: 0 / 1.427 GB, free: 2.059 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002841/1.119, allocations: 0.6259 MB / 1.428 GB, free: 1.383 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.119, allocations: 59.41 kB / 1.428 GB, free: 1.312 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/1.119, allocations: 218.7 kB / 1.428 GB, free: 1.086 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/1.119, allocations: 33.7 kB / 1.428 GB, free: 1.047 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/1.119, allocations: 140.2 kB / 1.428 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/1.119, allocations: 47.62 kB / 1.428 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.12, allocations: 45.69 kB / 1.428 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.12, allocations: 326.8 kB / 1.429 GB, free: 492 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/1.12, allocations: 79.88 kB / 1.429 GB, free: 412 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/1.12, allocations: 127.7 kB / 1.429 GB, free: 256 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/1.121, allocations: 204.1 kB / 1.429 GB, free: 28 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/1.121, allocations: 0 / 1.429 GB, free: 28 kB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001548/1.122, allocations: 373.5 kB / 1.429 GB, free: 15.65 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.122, allocations: 9.719 kB / 1.429 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.122, allocations: 0 / 1.429 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.123, allocations: 165.7 kB / 1.43 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/1.124, allocations: 39.91 kB / 1.43 GB, free: 15.44 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/1.128, allocations: 3.257 MB / 1.433 GB, free: 11.9 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/1.129, allocations: 27.83 kB / 1.433 GB, free: 11.87 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/1.129, allocations: 12 kB / 1.433 GB, free: 11.86 MB / 1.139 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.0001854/1.129, allocations: 134.2 kB / 1.433 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/1.129, allocations: 15.91 kB / 1.433 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/1.13, allocations: 368.3 kB / 1.433 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.13, allocations: 7.938 kB / 1.433 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/1.131, allocations: 0 / 1.433 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.131, allocations: 3.984 kB / 1.433 GB, free: 11.31 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/1.131, allocations: 285.3 kB / 1.434 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.131, allocations: 0 / 1.434 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/1.131, allocations: 19.98 kB / 1.434 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/1.132, allocations: 137.5 kB / 1.434 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/1.132, allocations: 8 kB / 1.434 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004189/1.136, allocations: 3.301 MB / 1.437 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.136, allocations: 240 / 1.437 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/1.137, allocations: 434.5 kB / 1.437 GB, free: 6.777 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/1.138, allocations: 120.9 kB / 1.438 GB, free: 6.641 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/1.138, allocations: 4 kB / 1.438 GB, free: 6.637 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/1.138, allocations: 11.98 kB / 1.438 GB, free: 6.625 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/1.138, allocations: 15.98 kB / 1.438 GB, free: 6.609 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/1.138, allocations: 7.984 kB / 1.438 GB, free: 6.602 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002453/1.138, allocations: 171.1 kB / 1.438 GB, free: 6.434 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.138, allocations: 0 / 1.438 GB, free: 6.434 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004938/1.139, allocations: 67.94 kB / 1.438 GB, free: 6.367 MB / 1.139 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.001852/1.141, allocations: 0.981 MB / 1.439 GB, free: 5.352 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.142, allocations: 441.8 kB / 1.439 GB, free: 4.895 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.142, allocations: 0 / 1.439 GB, free: 4.895 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/1.143, allocations: 353.2 kB / 1.44 GB, free: 4.523 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/1.143, allocations: 69.52 kB / 1.44 GB, free: 4.457 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/1.149, allocations: 2.516 MB / 1.442 GB, free: 1.809 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/1.149, allocations: 0.7363 MB / 1.443 GB, free: 1.047 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001952/1.149, allocations: 37.92 kB / 1.443 GB, free: 1.012 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/1.15, allocations: 55.42 kB / 1.443 GB, free: 0.957 MB / 1.139 GB Notification: Performance of SimCode: time 9.22e-07/1.15, allocations: 0 / 1.443 GB, free: 0.957 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04408/1.194, allocations: 7.327 MB / 1.45 GB, free: 9.844 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.53, allocations: 10.06 kB / 1.45 GB, free: 9.84 MB / 1.154 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 19.543358541093767]