Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001569/0.001569, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001965/0.001965, allocations: 219 kB / 22.26 MB, free: 5.125 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.542/1.542, 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 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.311/3.311, allocations: 0.49 GB / 0.7951 GB, free: 33.3 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_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_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.002028/0.002028, allocations: 67.27 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3495, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00364/0.3531, allocations: 1.949 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.209/0.5621, allocations: 158.9 MB / 1.483 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.5623, allocations: 0 / 1.483 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.5626, allocations: 31.66 kB / 1.483 GB, free: 496 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.563, allocations: 79.42 kB / 1.483 GB, free: 416 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.564, allocations: 267 kB / 1.483 GB, free: 148 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.5644, allocations: 263.1 kB / 1.484 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.5646, allocations: 54.55 kB / 1.484 GB, free: 15.83 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.5662, allocations: 255.2 kB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.5665, allocations: 91.61 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.5665, allocations: 12 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.567, allocations: 195.7 kB / 1.484 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.5671, allocations: 47.81 kB / 1.484 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.5672, allocations: 91.53 kB / 1.484 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.5678, allocations: 298.8 kB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5678, allocations: 4 kB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5678, allocations: 0 / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.5678, allocations: 0 / 1.485 GB, free: 14.88 MB / 1.186 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.001189/0.569, allocations: 465.3 kB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.569, allocations: 12.03 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.684e-05/0.5691, allocations: 46.55 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.5704, allocations: 119.7 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.5708, allocations: 178.1 kB / 1.485 GB, free: 14.01 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.5709, allocations: 63.73 kB / 1.485 GB, free: 13.94 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.571, allocations: 16 kB / 1.485 GB, free: 13.92 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.5717, allocations: 262.6 kB / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.5717, allocations: 3.938 kB / 1.486 GB, free: 13.63 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.5717, allocations: 8 kB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.5717, allocations: 8 kB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.5723, allocations: 160.3 kB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.5746, allocations: 1.152 MB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/0.5755, allocations: 198.6 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.5757, allocations: 64.81 kB / 1.487 GB, free: 11.97 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.5757, allocations: 7.984 kB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.5757, allocations: 34.56 kB / 1.487 GB, free: 11.92 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.5757, allocations: 0 / 1.487 GB, free: 11.92 MB / 1.186 GB Notification: Performance of matching and sorting (n=12): time 0.002854/0.5786, allocations: 494.7 kB / 1.488 GB, free: 11.42 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.5787, allocations: 59.33 kB / 1.488 GB, free: 11.35 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.579, allocations: 218.7 kB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.579, allocations: 25.7 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.5792, allocations: 136.2 kB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.5792, allocations: 43.64 kB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5793, allocations: 49.64 kB / 1.488 GB, free: 10.86 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5795, allocations: 334.8 kB / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.5797, allocations: 71.88 kB / 1.489 GB, free: 10.45 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.58, allocations: 129.5 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.5805, allocations: 203.8 kB / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.5805, allocations: 4 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001554/0.582, allocations: 373 kB / 1.489 GB, free: 9.699 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.582, allocations: 5.875 kB / 1.489 GB, free: 9.695 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.582, allocations: 4 kB / 1.489 GB, free: 9.691 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.5832, allocations: 161.8 kB / 1.489 GB, free: 9.527 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.5834, allocations: 43.91 kB / 1.49 GB, free: 9.484 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.5879, allocations: 3.05 MB / 1.492 GB, free: 6.199 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.5882, allocations: 35.77 kB / 1.493 GB, free: 6.164 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.5883, allocations: 11.98 kB / 1.493 GB, free: 6.152 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.0001635/0.5884, allocations: 133.7 kB / 1.493 GB, free: 6.012 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.5885, allocations: 19.97 kB / 1.493 GB, free: 5.992 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.5899, allocations: 372.3 kB / 1.493 GB, free: 5.609 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5899, allocations: 0 / 1.493 GB, free: 5.609 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.5899, allocations: 4 kB / 1.493 GB, free: 5.605 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5899, allocations: 0 / 1.493 GB, free: 5.605 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.5903, allocations: 252.4 kB / 1.493 GB, free: 5.316 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5903, allocations: 3.938 kB / 1.493 GB, free: 5.312 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.5904, allocations: 19.98 kB / 1.493 GB, free: 5.293 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008759/0.5913, allocations: 141.6 kB / 1.493 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5913, allocations: 4 kB / 1.493 GB, free: 5.145 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/0.5954, allocations: 3.094 MB / 1.496 GB, free: 1.809 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5954, allocations: 0 / 1.496 GB, free: 1.809 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.5967, allocations: 434.8 kB / 1.497 GB, free: 1.363 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.5969, allocations: 43.75 kB / 1.497 GB, free: 1.32 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.5969, allocations: 0 / 1.497 GB, free: 1.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.5972, allocations: 15.98 kB / 1.497 GB, free: 1.305 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.5973, allocations: 20.14 kB / 1.497 GB, free: 1.285 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.5973, allocations: 7.938 kB / 1.497 GB, free: 1.277 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002052/0.5975, allocations: 167.2 kB / 1.497 GB, free: 1.113 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5975, allocations: 0 / 1.497 GB, free: 1.113 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004569/0.598, allocations: 75.89 kB / 1.497 GB, free: 1.039 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.00177/0.5997, allocations: 0.9773 MB / 1.498 GB, free: 28 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.6009, allocations: 448.5 kB / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6009, allocations: 0 / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007541/0.6017, allocations: 353.2 kB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.6021, allocations: 77.58 kB / 1.499 GB, free: 15.12 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/0.6078, allocations: 2.516 MB / 1.501 GB, free: 12.47 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.6083, allocations: 0.7361 MB / 1.502 GB, free: 11.71 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.6085, allocations: 41.86 kB / 1.502 GB, free: 11.67 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.6086, allocations: 59.41 kB / 1.502 GB, free: 11.61 MB / 1.201 GB Notification: Performance of SimCode: time 1.002e-06/0.6086, allocations: 4 kB / 1.502 GB, free: 11.61 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05951/0.6681, allocations: 7.512 MB / 1.51 GB, free: 4.289 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.68, allocations: 8.688 kB / 1.51 GB, free: 4.285 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.560070274863392]