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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5651, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002588/0.5677, allocations: 1.662 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1455/0.7132, allocations: 149.7 MB / 1.165 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.7134, allocations: 0 / 1.165 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.7136, allocations: 23.8 kB / 1.165 GB, free: 10.49 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.7139, allocations: 51.56 kB / 1.165 GB, free: 10.44 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.7144, allocations: 191.3 kB / 1.165 GB, free: 10.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.7147, allocations: 167.4 kB / 1.166 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.7148, allocations: 35.34 kB / 1.166 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.716, allocations: 192.5 kB / 1.166 GB, free: 9.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.7162, allocations: 63.75 kB / 1.166 GB, free: 9.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.7162, allocations: 12 kB / 1.166 GB, free: 9.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.7165, allocations: 163.8 kB / 1.166 GB, free: 9.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.7166, allocations: 23.92 kB / 1.166 GB, free: 9.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.7167, allocations: 55.72 kB / 1.166 GB, free: 9.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.717, allocations: 199.4 kB / 1.166 GB, free: 9.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.717, allocations: 0 / 1.166 GB, free: 9.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.063e-06/0.717, allocations: 8 kB / 1.166 GB, free: 9.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.717, allocations: 0 / 1.166 GB, free: 9.371 MB / 0.92 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.000837/0.7179, allocations: 459 kB / 1.167 GB, free: 8.875 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7179, allocations: 12.03 kB / 1.167 GB, free: 8.863 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.718, allocations: 46.73 kB / 1.167 GB, free: 8.809 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006264/0.7186, allocations: 56.47 kB / 1.167 GB, free: 8.754 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.7188, allocations: 200 kB / 1.167 GB, free: 8.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.7189, allocations: 4 kB / 1.167 GB, free: 8.516 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.7189, allocations: 12 kB / 1.167 GB, free: 8.504 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.7193, allocations: 181.8 kB / 1.167 GB, free: 8.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.7194, allocations: 0 / 1.167 GB, free: 8.305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.7194, allocations: 8 kB / 1.167 GB, free: 8.297 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.7194, allocations: 4 kB / 1.167 GB, free: 8.293 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.7199, allocations: 142.4 kB / 1.167 GB, free: 8.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.721, allocations: 0.8282 MB / 1.168 GB, free: 7.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.7214, allocations: 138.4 kB / 1.168 GB, free: 7.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.7217, allocations: 80.8 kB / 1.168 GB, free: 7.023 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.7217, allocations: 0 / 1.168 GB, free: 7.023 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.7217, allocations: 42.5 kB / 1.168 GB, free: 6.973 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.7217, allocations: 3.984 kB / 1.168 GB, free: 6.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001927/0.7237, allocations: 459.2 kB / 1.169 GB, free: 6.492 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.7237, allocations: 59.34 kB / 1.169 GB, free: 6.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.7238, allocations: 151.9 kB / 1.169 GB, free: 6.262 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.7239, allocations: 25.7 kB / 1.169 GB, free: 6.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.7239, allocations: 108.3 kB / 1.169 GB, free: 6.121 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.724, allocations: 27.64 kB / 1.169 GB, free: 6.094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.7241, allocations: 33.61 kB / 1.169 GB, free: 6.055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.7242, allocations: 318.8 kB / 1.17 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.7244, allocations: 75.92 kB / 1.17 GB, free: 5.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.7247, allocations: 104.2 kB / 1.17 GB, free: 5.543 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.7252, allocations: 180.1 kB / 1.17 GB, free: 5.352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7252, allocations: 0 / 1.17 GB, free: 5.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001077/0.7263, allocations: 282.1 kB / 1.17 GB, free: 5.066 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7263, allocations: 11.94 kB / 1.17 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7263, allocations: 0 / 1.17 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.7269, allocations: 88.83 kB / 1.17 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.7272, allocations: 35.95 kB / 1.17 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.7293, allocations: 1.65 MB / 1.172 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.7295, allocations: 31.89 kB / 1.172 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.7295, allocations: 11.92 kB / 1.172 GB, free: 3.094 MB / 0.92 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.0001045/0.7296, allocations: 119.2 kB / 1.172 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.7297, allocations: 12.09 kB / 1.172 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.7308, allocations: 322.8 kB / 1.172 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7308, allocations: 0 / 1.172 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.7308, allocations: 4 kB / 1.172 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.7308, allocations: 3.938 kB / 1.172 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.7311, allocations: 245.3 kB / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7311, allocations: 0 / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.7313, allocations: 31.97 kB / 1.173 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/0.7318, allocations: 76.77 kB / 1.173 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.7318, allocations: 3.938 kB / 1.173 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.7336, allocations: 1.685 MB / 1.174 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7336, allocations: 0 / 1.174 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.7346, allocations: 368.1 kB / 1.175 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.7347, allocations: 112.8 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.7347, allocations: 0 / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.735, allocations: 27.91 kB / 1.175 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.735, allocations: 11.98 kB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.7351, allocations: 7.922 kB / 1.175 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.7351, allocations: 115.5 kB / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7351, allocations: 0 / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003195/0.7355, allocations: 44 kB / 1.175 GB, free: 15.68 MB / 0.9356 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.00132/0.7368, allocations: 0.9251 MB / 1.176 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008737/0.7377, allocations: 314.7 kB / 1.176 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7377, allocations: 0 / 1.176 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.7382, allocations: 230.5 kB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.7386, allocations: 31.44 kB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.7424, allocations: 2.06 MB / 1.179 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.7426, allocations: 0.7085 MB / 1.179 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.7428, allocations: 24.88 kB / 1.179 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.7429, allocations: 39.41 kB / 1.179 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.7429, allocations: 0 / 1.179 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.7669, allocations: 4.655 MB / 1.184 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.19, allocations: 20.91 kB / 1.184 GB, free: 6.652 MB / 0.9356 GB (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 50 --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) 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) Reference file matches