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.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.001328/0.001328, allocations: 114.6 kB / 18.94 MB, free: 2.789 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.001445/0.001445, allocations: 223.3 kB / 22.26 MB, free: 5.211 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002063/0.002063, allocations: 66.52 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003195/0.3179, allocations: 1.951 MB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1925/0.5103, allocations: 158.9 MB / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.5106, allocations: 0 / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.5108, allocations: 31.72 kB / 1.44 GB, free: 10.2 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.5112, allocations: 75.41 kB / 1.441 GB, free: 10.12 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.5122, allocations: 260.8 kB / 1.441 GB, free: 9.871 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.5128, allocations: 275 kB / 1.441 GB, free: 9.602 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.513, allocations: 46.56 kB / 1.441 GB, free: 9.555 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.5148, allocations: 263.5 kB / 1.441 GB, free: 9.324 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.515, allocations: 95.61 kB / 1.441 GB, free: 9.23 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.5151, allocations: 16 kB / 1.441 GB, free: 9.215 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.5155, allocations: 195.7 kB / 1.442 GB, free: 9.023 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.5156, allocations: 39.89 kB / 1.442 GB, free: 8.984 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.5157, allocations: 91.53 kB / 1.442 GB, free: 8.895 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.5163, allocations: 303.5 kB / 1.442 GB, free: 8.598 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5163, allocations: 0 / 1.442 GB, free: 8.598 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5163, allocations: 0 / 1.442 GB, free: 8.598 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5163, allocations: 3.938 kB / 1.442 GB, free: 8.594 MB / 1.139 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.001106/0.5174, allocations: 465.3 kB / 1.442 GB, free: 8.109 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5174, allocations: 8.031 kB / 1.442 GB, free: 8.102 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.5175, allocations: 50.55 kB / 1.443 GB, free: 8.043 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.5187, allocations: 115.8 kB / 1.443 GB, free: 7.93 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.519, allocations: 179.4 kB / 1.443 GB, free: 7.73 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.5191, allocations: 67.73 kB / 1.443 GB, free: 7.652 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.5191, allocations: 16 kB / 1.443 GB, free: 7.637 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.5197, allocations: 258.6 kB / 1.443 GB, free: 7.355 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5197, allocations: 0 / 1.443 GB, free: 7.355 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.5197, allocations: 8 kB / 1.443 GB, free: 7.348 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.5197, allocations: 4 kB / 1.443 GB, free: 7.344 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.5203, allocations: 171.8 kB / 1.443 GB, free: 7.176 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.5223, allocations: 1.148 MB / 1.444 GB, free: 5.957 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.5231, allocations: 198.6 kB / 1.445 GB, free: 5.754 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.5233, allocations: 64.81 kB / 1.445 GB, free: 5.688 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5233, allocations: 4 kB / 1.445 GB, free: 5.684 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5233, allocations: 34.56 kB / 1.445 GB, free: 5.641 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.5233, allocations: 0 / 1.445 GB, free: 5.641 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002682/0.526, allocations: 494.6 kB / 1.445 GB, free: 5.145 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.5261, allocations: 55.41 kB / 1.445 GB, free: 5.078 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.5263, allocations: 218.9 kB / 1.445 GB, free: 4.855 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.5264, allocations: 25.7 kB / 1.445 GB, free: 4.824 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.5265, allocations: 140.2 kB / 1.446 GB, free: 4.684 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.5266, allocations: 43.64 kB / 1.446 GB, free: 4.641 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.5267, allocations: 49.64 kB / 1.446 GB, free: 4.586 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002818/0.5269, allocations: 326.8 kB / 1.446 GB, free: 4.258 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.5272, allocations: 67.94 kB / 1.446 GB, free: 4.191 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.5275, allocations: 135.6 kB / 1.446 GB, free: 4.031 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.528, allocations: 198.8 kB / 1.446 GB, free: 3.812 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.528, allocations: 0 / 1.446 GB, free: 3.812 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001485/0.5295, allocations: 382.7 kB / 1.447 GB, free: 3.426 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5295, allocations: 8.219 kB / 1.447 GB, free: 3.418 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5295, allocations: 4 kB / 1.447 GB, free: 3.414 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.5308, allocations: 157.5 kB / 1.447 GB, free: 3.254 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.531, allocations: 43.91 kB / 1.447 GB, free: 3.211 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/0.5364, allocations: 3.035 MB / 1.45 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.5368, allocations: 43.86 kB / 1.45 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.5368, allocations: 7.984 kB / 1.45 GB, free: 15.88 MB / 1.154 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.0001758/0.537, allocations: 141.7 kB / 1.45 GB, free: 15.73 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.537, allocations: 15.91 kB / 1.45 GB, free: 15.72 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.5384, allocations: 370.7 kB / 1.45 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5384, allocations: 7.938 kB / 1.451 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.5384, allocations: 0 / 1.451 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5384, allocations: 0 / 1.451 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.5388, allocations: 256.3 kB / 1.451 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5388, allocations: 4 kB / 1.451 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.5389, allocations: 23.98 kB / 1.451 GB, free: 15.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008319/0.5397, allocations: 137.6 kB / 1.451 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.5398, allocations: 4 kB / 1.451 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/0.5436, allocations: 3.094 MB / 1.454 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5436, allocations: 3.984 kB / 1.454 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.5449, allocations: 428.8 kB / 1.454 GB, free: 11.1 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.545, allocations: 35.81 kB / 1.454 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.545, allocations: 11.94 kB / 1.454 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.5454, allocations: 16.11 kB / 1.454 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.5455, allocations: 23.95 kB / 1.454 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.5455, allocations: 4 kB / 1.454 GB, free: 11.01 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002041/0.5457, allocations: 163.1 kB / 1.455 GB, free: 10.85 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5457, allocations: 0 / 1.455 GB, free: 10.85 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004676/0.5462, allocations: 71.95 kB / 1.455 GB, free: 10.78 MB / 1.154 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.001775/0.5479, allocations: 0.9808 MB / 1.456 GB, free: 9.762 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.549, allocations: 441.7 kB / 1.456 GB, free: 9.305 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.549, allocations: 3.938 kB / 1.456 GB, free: 9.301 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008175/0.5498, allocations: 349.2 kB / 1.456 GB, free: 8.934 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.5503, allocations: 57.7 kB / 1.456 GB, free: 8.879 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/0.5558, allocations: 2.532 MB / 1.459 GB, free: 6.211 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.5563, allocations: 0.74 MB / 1.46 GB, free: 5.445 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001893/0.5565, allocations: 29.95 kB / 1.46 GB, free: 5.418 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.5566, allocations: 59.41 kB / 1.46 GB, free: 5.359 MB / 1.154 GB Notification: Performance of SimCode: time 7.61e-07/0.5566, allocations: 0 / 1.46 GB, free: 5.359 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04447/0.6011, allocations: 7.543 MB / 1.467 GB, free: 14.02 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.77, allocations: 3.453 kB / 1.467 GB, free: 14.02 MB / 1.17 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/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: 20.320928166853264]