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.001908/0.001908, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001641/0.001641, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.789 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.253/3.253, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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_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: 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.002069/0.002069, allocations: 68.88 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 176.1 MB / 1.325 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003365/0.3548, allocations: 1.664 MB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.5238, allocations: 131.5 MB / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.5239, allocations: 4 kB / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.5241, allocations: 27.67 kB / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.5244, allocations: 63.58 kB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.5248, allocations: 187.3 kB / 1.455 GB, free: 12.37 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.5251, allocations: 167.4 kB / 1.456 GB, free: 12.2 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.5252, allocations: 17.3 kB / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.5265, allocations: 190.7 kB / 1.456 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.5267, allocations: 63.73 kB / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.5267, allocations: 12 kB / 1.456 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.527, allocations: 163.7 kB / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.5271, allocations: 23.92 kB / 1.456 GB, free: 11.77 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.5271, allocations: 47.78 kB / 1.456 GB, free: 11.72 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.5275, allocations: 207.2 kB / 1.456 GB, free: 11.52 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5275, allocations: 3.938 kB / 1.456 GB, free: 11.51 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5275, allocations: 0 / 1.456 GB, free: 11.51 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5275, allocations: 4 kB / 1.456 GB, free: 11.51 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.0008601/0.5284, allocations: 393.5 kB / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5284, allocations: 12.03 kB / 1.457 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.175e-05/0.5285, allocations: 42.73 kB / 1.457 GB, free: 11.03 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.5293, allocations: 80.52 kB / 1.457 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.5296, allocations: 149.1 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.5296, allocations: 8 kB / 1.457 GB, free: 10.77 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.5296, allocations: 11.94 kB / 1.457 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.5301, allocations: 188.3 kB / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5301, allocations: 0 / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.5301, allocations: 0 / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5301, allocations: 4 kB / 1.457 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.5306, allocations: 151.7 kB / 1.457 GB, free: 10.41 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.5318, allocations: 0.7189 MB / 1.458 GB, free: 9.629 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.5323, allocations: 130.4 kB / 1.458 GB, free: 9.492 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.5325, allocations: 72.8 kB / 1.458 GB, free: 9.418 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.5325, allocations: 4 kB / 1.458 GB, free: 9.414 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5326, allocations: 34.56 kB / 1.458 GB, free: 9.371 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.5326, allocations: 4 kB / 1.458 GB, free: 9.367 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.001933/0.5345, allocations: 382.5 kB / 1.459 GB, free: 8.984 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.5346, allocations: 59.34 kB / 1.459 GB, free: 8.914 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.5347, allocations: 156.9 kB / 1.459 GB, free: 8.754 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.5348, allocations: 33.7 kB / 1.459 GB, free: 8.715 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.5348, allocations: 100.3 kB / 1.459 GB, free: 8.613 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.5349, allocations: 31.73 kB / 1.459 GB, free: 8.582 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.535, allocations: 29.7 kB / 1.459 GB, free: 8.547 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5351, allocations: 322.8 kB / 1.459 GB, free: 8.223 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.5354, allocations: 71.92 kB / 1.459 GB, free: 8.152 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.5357, allocations: 100.2 kB / 1.459 GB, free: 8.039 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.5362, allocations: 180.2 kB / 1.46 GB, free: 7.848 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5362, allocations: 3.938 kB / 1.46 GB, free: 7.844 MB / 1.154 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001096/0.5373, allocations: 286.1 kB / 1.46 GB, free: 7.555 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5373, allocations: 11.94 kB / 1.46 GB, free: 7.543 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5373, allocations: 0 / 1.46 GB, free: 7.543 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.5379, allocations: 88.83 kB / 1.46 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.5381, allocations: 35.95 kB / 1.46 GB, free: 7.418 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.5405, allocations: 1.552 MB / 1.461 GB, free: 5.746 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.5407, allocations: 24 kB / 1.462 GB, free: 5.723 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.5407, allocations: 11.92 kB / 1.462 GB, free: 5.711 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.0001407/0.5409, allocations: 126.2 kB / 1.462 GB, free: 5.578 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.5409, allocations: 11.95 kB / 1.462 GB, free: 5.566 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.542, allocations: 318.8 kB / 1.462 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.542, allocations: 0 / 1.462 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.542, allocations: 0 / 1.462 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.542, allocations: 0 / 1.462 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.5423, allocations: 200.6 kB / 1.462 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5423, allocations: 0 / 1.462 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5425, allocations: 27.97 kB / 1.462 GB, free: 4.984 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.543, allocations: 76.77 kB / 1.462 GB, free: 4.906 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.543, allocations: 7.938 kB / 1.462 GB, free: 4.898 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.545, allocations: 1.574 MB / 1.464 GB, free: 3.203 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.545, allocations: 0 / 1.464 GB, free: 3.203 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5461, allocations: 376.1 kB / 1.464 GB, free: 2.816 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.5462, allocations: 31.92 kB / 1.464 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.5462, allocations: 0 / 1.464 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.5464, allocations: 23.86 kB / 1.464 GB, free: 2.762 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.5465, allocations: 11.97 kB / 1.464 GB, free: 2.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.5465, allocations: 11.98 kB / 1.464 GB, free: 2.738 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.096e-05/0.5466, allocations: 109.5 kB / 1.464 GB, free: 2.633 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5466, allocations: 0 / 1.464 GB, free: 2.633 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000347/0.5469, allocations: 47.89 kB / 1.464 GB, free: 2.586 MB / 1.154 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.0015/0.5484, allocations: 0.9316 MB / 1.465 GB, free: 1.625 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009623/0.5494, allocations: 302.7 kB / 1.466 GB, free: 1.316 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5494, allocations: 0 / 1.466 GB, free: 1.316 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.55, allocations: 228.8 kB / 1.466 GB, free: 1.082 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.5503, allocations: 31.98 kB / 1.466 GB, free: 1.051 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.5546, allocations: 2.065 MB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.5547, allocations: 93.69 kB / 1.468 GB, free: 14.76 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.5549, allocations: 24.97 kB / 1.468 GB, free: 14.74 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.326e-05/0.555, allocations: 31.42 kB / 1.468 GB, free: 14.71 MB / 1.17 GB Notification: Performance of SimCode: time 9.12e-07/0.555, allocations: 4 kB / 1.468 GB, free: 14.7 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.5939, allocations: 5.349 MB / 1.473 GB, free: 9.527 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.84, allocations: 6.25 kB / 1.473 GB, free: 9.523 MB / 1.17 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.70779507420957]