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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006764/0.006764, allocations: 96.17 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 196.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.693/2.693, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 64.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3051, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004268/0.3094, allocations: 1.926 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7558/1.065, allocations: 155.4 MB / 1.374 GB, free: 10 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/1.065, allocations: 7.969 kB / 1.374 GB, free: 9.996 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/1.066, allocations: 26.91 kB / 1.374 GB, free: 9.977 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/1.066, allocations: 75.66 kB / 1.374 GB, free: 9.926 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/1.066, allocations: 269.4 kB / 1.374 GB, free: 9.789 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/1.067, allocations: 257.8 kB / 1.374 GB, free: 9.672 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/1.067, allocations: 74.88 kB / 1.374 GB, free: 9.633 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/1.068, allocations: 241 kB / 1.375 GB, free: 9.551 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/1.068, allocations: 94.94 kB / 1.375 GB, free: 9.508 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/1.068, allocations: 15.62 kB / 1.375 GB, free: 9.508 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/1.069, allocations: 182.6 kB / 1.375 GB, free: 9.461 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/1.069, allocations: 42.91 kB / 1.375 GB, free: 9.438 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/1.069, allocations: 95.22 kB / 1.375 GB, free: 9.383 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/1.069, allocations: 288 kB / 1.375 GB, free: 9.277 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/1.069, allocations: 0 / 1.375 GB, free: 9.277 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.092e-06/1.069, allocations: 0 / 1.375 GB, free: 9.277 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.85e-06/1.069, allocations: 1.406 kB / 1.375 GB, free: 9.277 MB / 1.076 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.0008582/1.07, allocations: 0.5318 MB / 1.376 GB, free: 8.816 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/1.07, allocations: 10.28 kB / 1.376 GB, free: 8.816 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/1.07, allocations: 53.25 kB / 1.376 GB, free: 8.766 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007583/1.071, allocations: 83.42 kB / 1.376 GB, free: 8.754 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/1.071, allocations: 232.4 kB / 1.376 GB, free: 8.523 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/1.071, allocations: 45.72 kB / 1.376 GB, free: 8.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/1.071, allocations: 14.84 kB / 1.376 GB, free: 8.477 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/1.072, allocations: 267.4 kB / 1.377 GB, free: 8.316 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.072, allocations: 1.406 kB / 1.377 GB, free: 8.316 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/1.072, allocations: 6.406 kB / 1.377 GB, free: 8.312 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.072, allocations: 4.281 kB / 1.377 GB, free: 8.312 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/1.072, allocations: 173.9 kB / 1.377 GB, free: 8.258 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/1.074, allocations: 1.184 MB / 1.378 GB, free: 7.258 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/1.075, allocations: 200.4 kB / 1.378 GB, free: 7.188 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/1.075, allocations: 75.67 kB / 1.378 GB, free: 7.156 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/1.075, allocations: 1.344 kB / 1.378 GB, free: 7.156 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/1.075, allocations: 34.16 kB / 1.378 GB, free: 7.117 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/1.075, allocations: 0 / 1.378 GB, free: 7.117 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.002478/1.077, allocations: 0.6249 MB / 1.379 GB, free: 6.789 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/1.077, allocations: 58.25 kB / 1.379 GB, free: 6.723 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/1.078, allocations: 222.5 kB / 1.379 GB, free: 6.578 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.078, allocations: 26.86 kB / 1.379 GB, free: 6.547 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/1.078, allocations: 138.5 kB / 1.379 GB, free: 6.422 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/1.078, allocations: 50.25 kB / 1.379 GB, free: 6.383 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/1.078, allocations: 45.95 kB / 1.379 GB, free: 6.355 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.078, allocations: 328.3 kB / 1.38 GB, free: 6.035 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/1.078, allocations: 74.47 kB / 1.38 GB, free: 6.012 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/1.078, allocations: 131.8 kB / 1.38 GB, free: 5.914 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/1.079, allocations: 204.8 kB / 1.38 GB, free: 5.785 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.079, allocations: 0 / 1.38 GB, free: 5.785 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001347/1.08, allocations: 375.3 kB / 1.38 GB, free: 5.586 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.08, allocations: 5.344 kB / 1.38 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.08, allocations: 2.469 kB / 1.38 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/1.081, allocations: 157.8 kB / 1.381 GB, free: 5.508 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/1.082, allocations: 46.27 kB / 1.381 GB, free: 5.488 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/1.085, allocations: 3.253 MB / 1.384 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/1.086, allocations: 37.94 kB / 1.384 GB, free: 2.281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/1.086, allocations: 6.25 kB / 1.384 GB, free: 2.281 MB / 1.076 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.0001244/1.086, allocations: 131.9 kB / 1.384 GB, free: 2.152 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/1.086, allocations: 19.98 kB / 1.384 GB, free: 2.141 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.087, allocations: 369.9 kB / 1.384 GB, free: 1.91 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.087, allocations: 6.219 kB / 1.384 GB, free: 1.906 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/1.087, allocations: 0 / 1.384 GB, free: 1.906 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.087, allocations: 1.438 kB / 1.384 GB, free: 1.906 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/1.088, allocations: 286.5 kB / 1.385 GB, free: 1.621 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.088, allocations: 0 / 1.385 GB, free: 1.621 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/1.088, allocations: 20.95 kB / 1.385 GB, free: 1.617 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007846/1.088, allocations: 139.5 kB / 1.385 GB, free: 1.543 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.088, allocations: 5.125 kB / 1.385 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/1.092, allocations: 3.306 MB / 1.388 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.092, allocations: 1.375 kB / 1.388 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/1.093, allocations: 432.4 kB / 1.388 GB, free: 14.02 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.093, allocations: 118.7 kB / 1.389 GB, free: 13.9 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/1.093, allocations: 1.438 kB / 1.389 GB, free: 13.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/1.094, allocations: 19.44 kB / 1.389 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/1.094, allocations: 19.7 kB / 1.389 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.094, allocations: 4.312 kB / 1.389 GB, free: 13.88 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001688/1.094, allocations: 161.4 kB / 1.389 GB, free: 13.76 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.61e-07/1.094, allocations: 0 / 1.389 GB, free: 13.76 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003722/1.094, allocations: 75.11 kB / 1.389 GB, free: 13.74 MB / 1.092 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.001568/1.096, allocations: 0.9806 MB / 1.39 GB, free: 12.9 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009827/1.097, allocations: 449.8 kB / 1.39 GB, free: 12.57 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.097, allocations: 0 / 1.39 GB, free: 12.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/1.098, allocations: 360.8 kB / 1.391 GB, free: 12.27 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/1.098, allocations: 67.08 kB / 1.391 GB, free: 12.23 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/1.103, allocations: 2.524 MB / 1.393 GB, free: 10.25 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/1.103, allocations: 0.739 MB / 1.394 GB, free: 9.527 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001507/1.103, allocations: 30.02 kB / 1.394 GB, free: 9.516 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/1.103, allocations: 60.5 kB / 1.394 GB, free: 9.469 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/1.103, allocations: 4 kB / 1.394 GB, free: 9.465 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6839/1.787, allocations: 7.298 MB / 1.401 GB, free: 5.777 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.94, allocations: 3.859 kB / 1.401 GB, free: 5.777 MB / 1.092 GB (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 --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) 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) Reference file matches