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.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.001896/0.001896, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002733/0.002733, allocations: 220 kB / 23.03 MB, free: 4.941 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.511/1.511, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.364/3.364, allocations: 0.5003 GB / 0.8062 GB, free: 28.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.002253/0.002253, allocations: 72.64 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3671, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004232/0.3714, allocations: 1.86 MB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1763/0.5476, allocations: 136.6 MB / 1.481 GB, free: 4.867 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.5478, allocations: 3.938 kB / 1.481 GB, free: 4.863 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.548, allocations: 31.67 kB / 1.481 GB, free: 4.832 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.5484, allocations: 83.41 kB / 1.481 GB, free: 4.75 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.5491, allocations: 265.9 kB / 1.481 GB, free: 4.492 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.5495, allocations: 263.2 kB / 1.481 GB, free: 4.234 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.5497, allocations: 50.53 kB / 1.481 GB, free: 4.184 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.5512, allocations: 259.5 kB / 1.481 GB, free: 3.953 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.5514, allocations: 91.59 kB / 1.482 GB, free: 3.863 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.5514, allocations: 16 kB / 1.482 GB, free: 3.848 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.5518, allocations: 183.7 kB / 1.482 GB, free: 3.668 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.5519, allocations: 47.83 kB / 1.482 GB, free: 3.621 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.552, allocations: 75.64 kB / 1.482 GB, free: 3.547 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.5525, allocations: 298.9 kB / 1.482 GB, free: 3.254 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5525, allocations: 3.984 kB / 1.482 GB, free: 3.25 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5525, allocations: 0 / 1.482 GB, free: 3.25 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5525, allocations: 3.938 kB / 1.482 GB, free: 3.246 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001004/0.5535, allocations: 469.2 kB / 1.483 GB, free: 2.758 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5535, allocations: 8.031 kB / 1.483 GB, free: 2.75 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.5536, allocations: 8.328 kB / 1.483 GB, free: 2.742 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.5536, allocations: 54.55 kB / 1.483 GB, free: 2.68 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.5549, allocations: 111.7 kB / 1.483 GB, free: 2.57 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.5552, allocations: 166.2 kB / 1.483 GB, free: 2.383 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/0.5553, allocations: 67.73 kB / 1.483 GB, free: 2.305 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.5553, allocations: 19.94 kB / 1.483 GB, free: 2.285 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.5559, allocations: 310.1 kB / 1.483 GB, free: 1.941 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5559, allocations: 3.938 kB / 1.483 GB, free: 1.938 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.556, allocations: 11.98 kB / 1.483 GB, free: 1.926 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.556, allocations: 4 kB / 1.483 GB, free: 1.922 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.5565, allocations: 163.8 kB / 1.483 GB, free: 1.762 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.5583, allocations: 1.129 MB / 1.485 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.5591, allocations: 194.6 kB / 1.485 GB, free: 372 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.5592, allocations: 68.81 kB / 1.485 GB, free: 300 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.5593, allocations: 4 kB / 1.485 GB, free: 296 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5593, allocations: 34.5 kB / 1.485 GB, free: 252 kB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 2.084e-06/0.5593, allocations: 0 / 1.485 GB, free: 252 kB / 1.17 GB Notification: Performance of matching and sorting (n=12): time 0.002837/0.5621, allocations: 490.8 kB / 1.485 GB, free: 15.75 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.5622, allocations: 51.41 kB / 1.485 GB, free: 15.69 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.5625, allocations: 222.9 kB / 1.486 GB, free: 15.46 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.5625, allocations: 29.7 kB / 1.486 GB, free: 15.43 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.5626, allocations: 140.2 kB / 1.486 GB, free: 15.29 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.5627, allocations: 39.69 kB / 1.486 GB, free: 15.25 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5628, allocations: 57.52 kB / 1.486 GB, free: 15.18 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5629, allocations: 326.8 kB / 1.486 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.5631, allocations: 75.94 kB / 1.486 GB, free: 14.78 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.5634, allocations: 151.2 kB / 1.486 GB, free: 14.6 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.5639, allocations: 206.7 kB / 1.487 GB, free: 14.38 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5639, allocations: 0 / 1.487 GB, free: 14.38 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001595/0.5655, allocations: 373.7 kB / 1.487 GB, free: 14 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5655, allocations: 8 kB / 1.487 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.5655, allocations: 0 / 1.487 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.5667, allocations: 165.7 kB / 1.487 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.567, allocations: 39.91 kB / 1.487 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.5713, allocations: 3.032 MB / 1.49 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.5716, allocations: 31.8 kB / 1.49 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.5717, allocations: 16 kB / 1.49 GB, free: 10.47 MB / 1.186 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.000171/0.5718, allocations: 129.8 kB / 1.49 GB, free: 10.33 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.5719, allocations: 19.86 kB / 1.49 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.5733, allocations: 372.3 kB / 1.491 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5733, allocations: 0 / 1.491 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.5733, allocations: 4 kB / 1.491 GB, free: 9.934 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5734, allocations: 3.984 kB / 1.491 GB, free: 9.93 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.5737, allocations: 228.4 kB / 1.491 GB, free: 9.664 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5737, allocations: 0 / 1.491 GB, free: 9.664 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.5739, allocations: 23.97 kB / 1.491 GB, free: 9.641 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008687/0.5747, allocations: 145.6 kB / 1.491 GB, free: 9.492 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.5748, allocations: 0 / 1.491 GB, free: 9.492 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/0.5787, allocations: 3.083 MB / 1.494 GB, free: 6.172 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5787, allocations: 0 / 1.494 GB, free: 6.172 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.5801, allocations: 430.2 kB / 1.494 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5802, allocations: 43.89 kB / 1.494 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.5803, allocations: 4 kB / 1.494 GB, free: 5.684 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.5806, allocations: 19.98 kB / 1.494 GB, free: 5.664 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5807, allocations: 23.89 kB / 1.495 GB, free: 5.641 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.5807, allocations: 4 kB / 1.495 GB, free: 5.637 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002132/0.5809, allocations: 163.2 kB / 1.495 GB, free: 5.477 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5809, allocations: 0 / 1.495 GB, free: 5.477 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005794/0.5815, allocations: 63.94 kB / 1.495 GB, free: 5.414 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 (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.00172/0.5832, allocations: 0.9808 MB / 1.496 GB, free: 4.398 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.5843, allocations: 445.7 kB / 1.496 GB, free: 3.938 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5843, allocations: 0 / 1.496 GB, free: 3.938 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006878/0.585, allocations: 355.1 kB / 1.496 GB, free: 3.566 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.5855, allocations: 60.41 kB / 1.497 GB, free: 3.508 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.591, allocations: 2.531 MB / 1.499 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.5912, allocations: 124.4 kB / 1.499 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.5914, allocations: 41.92 kB / 1.499 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.5915, allocations: 51.42 kB / 1.499 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of SimCode: time 1.072e-06/0.5915, allocations: 0 / 1.499 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.6278, allocations: 7.715 MB / 1.507 GB, free: 9.133 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.9, allocations: 9.625 kB / 1.507 GB, free: 9.125 MB / 1.201 GB " [Timeout remaining time 286] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.02679529308807]