Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 113.1 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 1.059 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2624, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002785/0.2652, allocations: 1.686 MB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.648/0.9132, allocations: 150.2 MB / 1.364 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.9133, allocations: 1.406 kB / 1.364 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.9135, allocations: 31.5 kB / 1.364 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.9137, allocations: 48.02 kB / 1.364 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.9142, allocations: 188.6 kB / 1.364 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.9144, allocations: 165.7 kB / 1.364 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.9145, allocations: 23.42 kB / 1.364 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.9158, allocations: 195.4 kB / 1.364 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.9159, allocations: 64.64 kB / 1.365 GB, free: 5.273 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.9159, allocations: 9.156 kB / 1.365 GB, free: 5.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.9162, allocations: 162.7 kB / 1.365 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.9163, allocations: 31.33 kB / 1.365 GB, free: 5.215 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.9164, allocations: 52.91 kB / 1.365 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.9167, allocations: 202.3 kB / 1.365 GB, free: 5.113 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.9167, allocations: 4 kB / 1.365 GB, free: 5.109 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9167, allocations: 0 / 1.365 GB, free: 5.109 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.9167, allocations: 0 / 1.365 GB, free: 5.109 MB / 1.045 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.0008547/0.9176, allocations: 474.6 kB / 1.365 GB, free: 4.688 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.9176, allocations: 9.656 kB / 1.365 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.9177, allocations: 40.08 kB / 1.365 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.9182, allocations: 51.09 kB / 1.366 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.9184, allocations: 215 kB / 1.366 GB, free: 4.414 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.9185, allocations: 7.938 kB / 1.366 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.9185, allocations: 9.375 kB / 1.366 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.9189, allocations: 183 kB / 1.366 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.9189, allocations: 0 / 1.366 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.919, allocations: 5.641 kB / 1.366 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.919, allocations: 2.375 kB / 1.366 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.9195, allocations: 148.4 kB / 1.366 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.9205, allocations: 0.8224 MB / 1.367 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.9209, allocations: 122.8 kB / 1.367 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.9211, allocations: 82.47 kB / 1.367 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.9212, allocations: 5.375 kB / 1.367 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.9212, allocations: 35.95 kB / 1.367 GB, free: 3.383 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.9212, allocations: 1.094 kB / 1.367 GB, free: 3.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001809/0.923, allocations: 452.4 kB / 1.368 GB, free: 3.184 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.923, allocations: 56.78 kB / 1.368 GB, free: 3.117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.9232, allocations: 157.9 kB / 1.368 GB, free: 2.996 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.9232, allocations: 30.92 kB / 1.368 GB, free: 2.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.9232, allocations: 107.9 kB / 1.368 GB, free: 2.859 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.9233, allocations: 34.62 kB / 1.368 GB, free: 2.832 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.9233, allocations: 32.33 kB / 1.368 GB, free: 2.809 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9235, allocations: 319.9 kB / 1.368 GB, free: 2.492 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.9237, allocations: 75.06 kB / 1.368 GB, free: 2.473 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.924, allocations: 101.6 kB / 1.368 GB, free: 2.414 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.9244, allocations: 173.8 kB / 1.369 GB, free: 2.332 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9244, allocations: 0 / 1.369 GB, free: 2.332 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009924/0.9254, allocations: 281.5 kB / 1.369 GB, free: 2.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9255, allocations: 11.39 kB / 1.369 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.9255, allocations: 1.125 kB / 1.369 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.926, allocations: 86.67 kB / 1.369 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.9262, allocations: 40.2 kB / 1.369 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.9282, allocations: 1.654 MB / 1.371 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.9285, allocations: 28.95 kB / 1.371 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.9285, allocations: 6.812 kB / 1.371 GB, free: 0.6758 MB / 1.045 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.0001108/0.9286, allocations: 124.8 kB / 1.371 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.9286, allocations: 12.14 kB / 1.371 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.9296, allocations: 314.1 kB / 1.371 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.9296, allocations: 5.375 kB / 1.371 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.9296, allocations: 1.438 kB / 1.371 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9296, allocations: 0.8906 kB / 1.371 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.9299, allocations: 242.1 kB / 1.371 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9299, allocations: 3.938 kB / 1.371 GB, free: 192 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.9301, allocations: 28.94 kB / 1.371 GB, free: 192 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/0.9305, allocations: 76.31 kB / 1.371 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.9305, allocations: 8.734 kB / 1.371 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.9324, allocations: 1.679 MB / 1.373 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9324, allocations: 1.25 kB / 1.373 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.9334, allocations: 381.3 kB / 1.373 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.9335, allocations: 117.2 kB / 1.374 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.9335, allocations: 1.344 kB / 1.374 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.9337, allocations: 16.48 kB / 1.374 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.9338, allocations: 17.3 kB / 1.374 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.9338, allocations: 2.75 kB / 1.374 GB, free: 14.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.1e-05/0.9339, allocations: 118.1 kB / 1.374 GB, free: 14.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9339, allocations: 0 / 1.374 GB, free: 14.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003144/0.9342, allocations: 44.62 kB / 1.374 GB, free: 14.21 MB / 1.061 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.001339/0.9355, allocations: 0.9195 MB / 1.375 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008578/0.9364, allocations: 308.4 kB / 1.375 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9364, allocations: 0 / 1.375 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.9369, allocations: 229.6 kB / 1.375 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.9372, allocations: 30.33 kB / 1.375 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.941, allocations: 2.07 MB / 1.377 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.9413, allocations: 0.7098 MB / 1.378 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.9414, allocations: 24.39 kB / 1.378 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.9415, allocations: 33.48 kB / 1.378 GB, free: 10.92 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.9415, allocations: 0 / 1.378 GB, free: 10.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.9729, allocations: 4.76 MB / 1.383 GB, free: 9.309 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.29, allocations: 6.016 kB / 1.383 GB, free: 9.305 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.55999385999894]