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.001432/0.001432, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001825/0.001825, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.236/3.236, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",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.001987/0.001987, allocations: 66.72 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002966/0.3204, allocations: 1.663 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.4836, allocations: 131.4 MB / 1.457 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.4837, allocations: 4 kB / 1.457 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.4839, allocations: 23.8 kB / 1.457 GB, free: 11.86 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.4842, allocations: 59.56 kB / 1.457 GB, free: 11.8 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.4847, allocations: 187.3 kB / 1.457 GB, free: 11.62 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.485, allocations: 171.4 kB / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4851, allocations: 17.31 kB / 1.457 GB, free: 11.44 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.4867, allocations: 203 kB / 1.457 GB, free: 11.26 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.4868, allocations: 67.73 kB / 1.457 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.4869, allocations: 12 kB / 1.457 GB, free: 11.18 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.4873, allocations: 167.7 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.4873, allocations: 27.91 kB / 1.457 GB, free: 10.99 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.882e-05/0.4874, allocations: 47.78 kB / 1.458 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.4879, allocations: 199.3 kB / 1.458 GB, free: 10.75 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4879, allocations: 0 / 1.458 GB, free: 10.75 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4879, allocations: 0 / 1.458 GB, free: 10.75 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.4879, allocations: 0 / 1.458 GB, free: 10.75 MB / 1.154 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.00108/0.489, allocations: 413.4 kB / 1.458 GB, free: 10.32 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4891, allocations: 8.031 kB / 1.458 GB, free: 10.31 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.989e-05/0.4891, allocations: 4.188 kB / 1.458 GB, free: 10.3 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.4891, allocations: 38.73 kB / 1.458 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.4902, allocations: 80.33 kB / 1.458 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.4905, allocations: 146.6 kB / 1.458 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4905, allocations: 4 kB / 1.458 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.4906, allocations: 8 kB / 1.458 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.4911, allocations: 194.8 kB / 1.459 GB, free: 9.789 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4911, allocations: 0 / 1.459 GB, free: 9.789 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.4912, allocations: 4 kB / 1.459 GB, free: 9.785 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4912, allocations: 4 kB / 1.459 GB, free: 9.781 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.4917, allocations: 143.7 kB / 1.459 GB, free: 9.641 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.4931, allocations: 0.719 MB / 1.459 GB, free: 8.863 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.4936, allocations: 130.4 kB / 1.46 GB, free: 8.727 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.4938, allocations: 80.78 kB / 1.46 GB, free: 8.645 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.4939, allocations: 0 / 1.46 GB, free: 8.645 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4939, allocations: 34.5 kB / 1.46 GB, free: 8.602 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.4939, allocations: 0 / 1.46 GB, free: 8.602 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.002022/0.4959, allocations: 386.5 kB / 1.46 GB, free: 8.215 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.496, allocations: 63.34 kB / 1.46 GB, free: 8.141 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.4961, allocations: 152.5 kB / 1.46 GB, free: 7.984 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.4962, allocations: 29.64 kB / 1.46 GB, free: 7.949 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4963, allocations: 104.3 kB / 1.46 GB, free: 7.844 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.4963, allocations: 31.73 kB / 1.46 GB, free: 7.812 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.4964, allocations: 33.7 kB / 1.46 GB, free: 7.773 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4966, allocations: 318.8 kB / 1.461 GB, free: 7.453 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.4968, allocations: 67.94 kB / 1.461 GB, free: 7.387 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.4971, allocations: 104.2 kB / 1.461 GB, free: 7.27 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.4976, allocations: 180.1 kB / 1.461 GB, free: 7.078 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4977, allocations: 0 / 1.461 GB, free: 7.078 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001268/0.4989, allocations: 278.1 kB / 1.461 GB, free: 6.797 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4989, allocations: 7.984 kB / 1.461 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4989, allocations: 4 kB / 1.461 GB, free: 6.785 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/0.4996, allocations: 84.88 kB / 1.461 GB, free: 6.699 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.4998, allocations: 35.89 kB / 1.461 GB, free: 6.664 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.5023, allocations: 1.567 MB / 1.463 GB, free: 4.973 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.5025, allocations: 23.92 kB / 1.463 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.5025, allocations: 7.984 kB / 1.463 GB, free: 4.941 MB / 1.154 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.0001453/0.5027, allocations: 115.3 kB / 1.463 GB, free: 4.82 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.5027, allocations: 11.91 kB / 1.463 GB, free: 4.809 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.5039, allocations: 320.4 kB / 1.463 GB, free: 4.492 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5039, allocations: 0 / 1.463 GB, free: 4.492 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5039, allocations: 3.938 kB / 1.463 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5039, allocations: 0 / 1.463 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.5042, allocations: 200.6 kB / 1.464 GB, free: 4.25 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5042, allocations: 0 / 1.464 GB, free: 4.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.5044, allocations: 35.91 kB / 1.464 GB, free: 4.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.5048, allocations: 76.7 kB / 1.464 GB, free: 4.137 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.5049, allocations: 4 kB / 1.464 GB, free: 4.133 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.507, allocations: 1.574 MB / 1.465 GB, free: 2.438 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.507, allocations: 64 / 1.465 GB, free: 2.438 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.5081, allocations: 389.2 kB / 1.466 GB, free: 2.039 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.5081, allocations: 23.92 kB / 1.466 GB, free: 2.016 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5082, allocations: 7.938 kB / 1.466 GB, free: 2.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.5084, allocations: 11.98 kB / 1.466 GB, free: 1.996 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.5085, allocations: 15.97 kB / 1.466 GB, free: 1.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5085, allocations: 8 kB / 1.466 GB, free: 1.973 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001052/0.5086, allocations: 112.7 kB / 1.466 GB, free: 1.863 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5086, allocations: 0 / 1.466 GB, free: 1.863 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003963/0.509, allocations: 43.94 kB / 1.466 GB, free: 1.82 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 (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.001597/0.5106, allocations: 0.9315 MB / 1.467 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009869/0.5116, allocations: 301.7 kB / 1.467 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5116, allocations: 0 / 1.467 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.5122, allocations: 230.8 kB / 1.467 GB, free: 324 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.5126, allocations: 25.8 kB / 1.467 GB, free: 300 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.5169, allocations: 2.069 MB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.517, allocations: 93.67 kB / 1.469 GB, free: 14 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.5172, allocations: 24.97 kB / 1.469 GB, free: 13.98 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.943e-05/0.5173, allocations: 35.42 kB / 1.469 GB, free: 13.94 MB / 1.17 GB Notification: Performance of SimCode: time 6.51e-07/0.5173, allocations: 0 / 1.469 GB, free: 13.94 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.5466, allocations: 5.032 MB / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.91, allocations: 9.438 kB / 1.474 GB, free: 9.098 MB / 1.17 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.781674819998443]