Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002063/0.002063, allocations: 110 kB / 16.46 MB, free: 6.035 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.00258/0.00258, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.172/3.172, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 62.03 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3642, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002898/0.3671, allocations: 1.68 MB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.183/0.5501, allocations: 150.1 MB / 1.452 GB, free: 9.156 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.5502, allocations: 4 kB / 1.452 GB, free: 9.152 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.5504, allocations: 27.73 kB / 1.452 GB, free: 9.125 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.5506, allocations: 47.64 kB / 1.452 GB, free: 9.078 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.5511, allocations: 183.3 kB / 1.452 GB, free: 8.898 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.5514, allocations: 171.5 kB / 1.453 GB, free: 8.73 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.5515, allocations: 25.06 kB / 1.453 GB, free: 8.703 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.5528, allocations: 193.4 kB / 1.453 GB, free: 8.539 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.553, allocations: 59.75 kB / 1.453 GB, free: 8.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.553, allocations: 8 kB / 1.453 GB, free: 8.473 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.5533, allocations: 167.7 kB / 1.453 GB, free: 8.309 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.5534, allocations: 27.91 kB / 1.453 GB, free: 8.281 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.5534, allocations: 51.73 kB / 1.453 GB, free: 8.23 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.5538, allocations: 207.2 kB / 1.453 GB, free: 8.027 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5538, allocations: 4 kB / 1.453 GB, free: 8.023 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5538, allocations: 0 / 1.453 GB, free: 8.023 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.5538, allocations: 0 / 1.453 GB, free: 8.023 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.0009327/0.5548, allocations: 478.5 kB / 1.454 GB, free: 7.508 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5548, allocations: 8.625 kB / 1.454 GB, free: 7.5 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.5548, allocations: 42.73 kB / 1.454 GB, free: 7.449 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006312/0.5555, allocations: 60.48 kB / 1.454 GB, free: 7.391 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.5557, allocations: 198.9 kB / 1.454 GB, free: 7.156 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.5558, allocations: 8 kB / 1.454 GB, free: 7.148 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.5558, allocations: 11.98 kB / 1.454 GB, free: 7.137 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.5562, allocations: 183.1 kB / 1.454 GB, free: 6.938 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5563, allocations: 0 / 1.454 GB, free: 6.938 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.5563, allocations: 8 kB / 1.454 GB, free: 6.93 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5563, allocations: 4 kB / 1.454 GB, free: 6.926 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.5568, allocations: 147.7 kB / 1.454 GB, free: 6.781 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.5581, allocations: 0.8282 MB / 1.455 GB, free: 5.875 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.5585, allocations: 130.4 kB / 1.455 GB, free: 5.738 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.5588, allocations: 80.78 kB / 1.455 GB, free: 5.656 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.5588, allocations: 0 / 1.455 GB, free: 5.656 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.5589, allocations: 38.72 kB / 1.455 GB, free: 5.609 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.5589, allocations: 0 / 1.455 GB, free: 5.609 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.002099/0.561, allocations: 459.2 kB / 1.456 GB, free: 5.133 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.561, allocations: 55.34 kB / 1.456 GB, free: 5.066 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.5612, allocations: 153.5 kB / 1.456 GB, free: 4.91 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.5613, allocations: 25.7 kB / 1.456 GB, free: 4.879 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.5614, allocations: 116.3 kB / 1.456 GB, free: 4.762 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.5614, allocations: 31.73 kB / 1.456 GB, free: 4.73 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.5615, allocations: 29.7 kB / 1.456 GB, free: 4.695 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5617, allocations: 318.8 kB / 1.457 GB, free: 4.375 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.5619, allocations: 79.88 kB / 1.457 GB, free: 4.297 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.5622, allocations: 104.2 kB / 1.457 GB, free: 4.18 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.5628, allocations: 172.1 kB / 1.457 GB, free: 3.996 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5628, allocations: 0 / 1.457 GB, free: 3.996 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001095/0.5639, allocations: 282.1 kB / 1.457 GB, free: 3.711 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.5639, allocations: 18.58 kB / 1.457 GB, free: 3.695 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5639, allocations: 0 / 1.457 GB, free: 3.695 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.5645, allocations: 84.89 kB / 1.457 GB, free: 3.609 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.5647, allocations: 31.91 kB / 1.457 GB, free: 3.578 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.5675, allocations: 1.66 MB / 1.459 GB, free: 1.773 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.5678, allocations: 31.81 kB / 1.459 GB, free: 1.742 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.5679, allocations: 11.92 kB / 1.459 GB, free: 1.73 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.0001799/0.568, allocations: 125.8 kB / 1.459 GB, free: 1.598 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.5681, allocations: 11.91 kB / 1.459 GB, free: 1.586 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.5693, allocations: 318.9 kB / 1.459 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5693, allocations: 0 / 1.459 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5693, allocations: 0 / 1.459 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.5693, allocations: 0 / 1.459 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.5697, allocations: 241.5 kB / 1.46 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5697, allocations: 0 / 1.46 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.5699, allocations: 27.97 kB / 1.46 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.5704, allocations: 80.77 kB / 1.46 GB, free: 0.875 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.5704, allocations: 7.938 kB / 1.46 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.5729, allocations: 1.682 MB / 1.461 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.5729, allocations: 11.95 kB / 1.461 GB, free: 15.03 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.574, allocations: 364.1 kB / 1.462 GB, free: 14.65 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.5741, allocations: 109 kB / 1.462 GB, free: 14.53 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.5741, allocations: 4 kB / 1.462 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.5744, allocations: 23.91 kB / 1.462 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.5745, allocations: 19.92 kB / 1.462 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.5745, allocations: 4 kB / 1.462 GB, free: 14.48 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000132/0.5746, allocations: 115.2 kB / 1.462 GB, free: 14.36 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5746, allocations: 0 / 1.462 GB, free: 14.36 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004128/0.575, allocations: 43.94 kB / 1.462 GB, free: 14.32 MB / 1.17 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.001747/0.5768, allocations: 0.9265 MB / 1.463 GB, free: 13.37 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000952/0.5777, allocations: 302.5 kB / 1.463 GB, free: 13.06 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5777, allocations: 0 / 1.463 GB, free: 13.06 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005826/0.5783, allocations: 230.8 kB / 1.464 GB, free: 12.82 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.5787, allocations: 23.98 kB / 1.464 GB, free: 12.8 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.583, allocations: 2.07 MB / 1.466 GB, free: 10.62 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.5834, allocations: 0.7085 MB / 1.466 GB, free: 9.879 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.5835, allocations: 20.88 kB / 1.466 GB, free: 9.855 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.5836, allocations: 35.42 kB / 1.466 GB, free: 9.82 MB / 1.17 GB Notification: Performance of SimCode: time 9.22e-07/0.5836, allocations: 0 / 1.466 GB, free: 9.82 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.6189, allocations: 4.774 MB / 1.471 GB, free: 5.234 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.59, allocations: 7.484 kB / 1.471 GB, free: 5.23 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.324705470819026]