Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001085/0.001085, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001263/0.001263, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9041/0.9041, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.707/1.707, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.66e-05, allocations: 6.281 kB / 0.9809 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001805/0.001822, allocations: 1.656 MB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.53/0.5318, allocations: 131.5 MB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.5319, allocations: 5.094 kB / 1.111 GB, free: 22.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.5321, allocations: 27.02 kB / 1.111 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.5323, allocations: 58.12 kB / 1.111 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.5326, allocations: 194.9 kB / 1.111 GB, free: 22.74 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.5327, allocations: 166.5 kB / 1.111 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.5328, allocations: 27.69 kB / 1.111 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007589/0.5336, allocations: 225 kB / 1.112 GB, free: 22.59 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.5337, allocations: 53.95 kB / 1.112 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.5337, allocations: 9.625 kB / 1.112 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.5339, allocations: 160 kB / 1.112 GB, free: 22.54 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.5339, allocations: 25.66 kB / 1.112 GB, free: 22.52 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.534, allocations: 41.7 kB / 1.112 GB, free: 22.5 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.5343, allocations: 232 kB / 1.112 GB, free: 22.42 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5343, allocations: 4 kB / 1.112 GB, free: 22.42 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5343, allocations: 1.156 kB / 1.112 GB, free: 22.42 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.5343, allocations: 0 / 1.112 GB, free: 22.42 MB / 0.9948 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.0005319/0.5348, allocations: 395.3 kB / 1.113 GB, free: 22.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5348, allocations: 13.12 kB / 1.113 GB, free: 22.09 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.5349, allocations: 44.45 kB / 1.113 GB, free: 22.05 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.5353, allocations: 74.25 kB / 1.113 GB, free: 22.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.5355, allocations: 154.2 kB / 1.113 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.5355, allocations: 3.312 kB / 1.113 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5355, allocations: 9.25 kB / 1.113 GB, free: 21.88 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.5358, allocations: 179 kB / 1.113 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.5358, allocations: 1.281 kB / 1.113 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5358, allocations: 5.406 kB / 1.113 GB, free: 21.77 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.5358, allocations: 2.219 kB / 1.113 GB, free: 21.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.5361, allocations: 144 kB / 1.113 GB, free: 21.74 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.5367, allocations: 0.7216 MB / 1.114 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.5369, allocations: 127 kB / 1.114 GB, free: 21.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.537, allocations: 82.84 kB / 1.114 GB, free: 21.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.5371, allocations: 1.406 kB / 1.114 GB, free: 21.02 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.5371, allocations: 32.42 kB / 1.114 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.5371, allocations: 0 / 1.114 GB, free: 20.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.001011/0.5381, allocations: 384.7 kB / 1.114 GB, free: 20.87 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.5381, allocations: 57.17 kB / 1.115 GB, free: 20.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.5382, allocations: 150.5 kB / 1.115 GB, free: 20.69 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.5382, allocations: 29.7 kB / 1.115 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.5382, allocations: 112.4 kB / 1.115 GB, free: 20.55 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.5383, allocations: 29.38 kB / 1.115 GB, free: 20.53 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.5383, allocations: 39.62 kB / 1.115 GB, free: 20.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.988e-05/0.5383, allocations: 326 kB / 1.115 GB, free: 20.18 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.5385, allocations: 64.88 kB / 1.115 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.5386, allocations: 106.7 kB / 1.115 GB, free: 20.1 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.5389, allocations: 178.4 kB / 1.116 GB, free: 20.02 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5389, allocations: 1.156 kB / 1.116 GB, free: 20.02 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005463/0.5395, allocations: 274.8 kB / 1.116 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5395, allocations: 5.969 kB / 1.116 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5395, allocations: 2.156 kB / 1.116 GB, free: 19.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/0.5398, allocations: 88.41 kB / 1.116 GB, free: 19.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.5399, allocations: 35.86 kB / 1.116 GB, free: 19.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.5411, allocations: 1.562 MB / 1.117 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.5412, allocations: 24.69 kB / 1.117 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.5412, allocations: 6.406 kB / 1.117 GB, free: 18.5 MB / 0.9948 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 5.834e-05/0.5412, allocations: 124.8 kB / 1.118 GB, free: 18.37 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.5413, allocations: 8.828 kB / 1.118 GB, free: 18.37 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005815/0.5418, allocations: 310.5 kB / 1.118 GB, free: 18.26 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5418, allocations: 1.125 kB / 1.118 GB, free: 18.26 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.5418, allocations: 1.625 kB / 1.118 GB, free: 18.26 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5419, allocations: 4.688 kB / 1.118 GB, free: 18.25 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.542, allocations: 199.4 kB / 1.118 GB, free: 18.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.542, allocations: 0 / 1.118 GB, free: 18.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.5421, allocations: 35.19 kB / 1.118 GB, free: 18.06 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.5424, allocations: 79.41 kB / 1.118 GB, free: 18.04 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.5424, allocations: 3.328 kB / 1.118 GB, free: 18.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.5434, allocations: 1.572 MB / 1.12 GB, free: 16.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5434, allocations: 3.938 kB / 1.12 GB, free: 16.64 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.544, allocations: 391.3 kB / 1.12 GB, free: 16.42 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.5441, allocations: 29.98 kB / 1.12 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.5441, allocations: 1.797 kB / 1.12 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5442, allocations: 18.5 kB / 1.12 GB, free: 16.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.5443, allocations: 11.5 kB / 1.12 GB, free: 16.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.5443, allocations: 8.781 kB / 1.12 GB, free: 16.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.5443, allocations: 115.2 kB / 1.12 GB, free: 16.31 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.5443, allocations: 0 / 1.12 GB, free: 16.31 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002371/0.5446, allocations: 46.09 kB / 1.12 GB, free: 16.3 MB / 0.9948 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.0007567/0.5453, allocations: 0.9175 MB / 1.121 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005222/0.5458, allocations: 305.6 kB / 1.122 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5458, allocations: 0 / 1.122 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.5461, allocations: 228.1 kB / 1.122 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.5464, allocations: 31.64 kB / 1.122 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.5488, allocations: 2.048 MB / 1.124 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.5489, allocations: 110.7 kB / 1.124 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.703e-05/0.549, allocations: 34.47 kB / 1.124 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.549, allocations: 33.75 kB / 1.124 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of SimCode: time 1.032e-06/0.549, allocations: 0 / 1.124 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.5672, allocations: 5.494 MB / 1.129 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.495, allocations: 7.672 kB / 1.129 GB, free: 12.47 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.58063009660691]