Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.007908/0.007908, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003939/0.2853, allocations: 2.839 MB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004216/0.2895, allocations: 2.951 MB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.2897, allocations: 4 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.29, allocations: 79.28 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.2905, allocations: 214.5 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.2918, allocations: 0.6104 MB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.2924, allocations: 0.5407 MB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2927, allocations: 102.7 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.2929, allocations: 195.3 kB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.2932, allocations: 219.1 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.2932, allocations: 44 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007778/0.294, allocations: 395.6 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.667e-05/0.2941, allocations: 87.69 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.2943, allocations: 215 kB / 1.228 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.2954, allocations: 0.7356 MB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2954, allocations: 0 / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.478e-06/0.2954, allocations: 4 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.2954, allocations: 3.938 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001281/0.2967, allocations: 0.7664 MB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2967, allocations: 8.031 kB / 1.23 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.668e-05/0.2968, allocations: 62.72 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1041/0.4009, allocations: 12.2 MB / 1.242 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.4028, allocations: 0.9327 MB / 1.243 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.4029, allocations: 24.94 kB / 1.243 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/0.4034, allocations: 24.38 kB / 1.243 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/0.4209, allocations: 3.742 MB / 1.247 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.421, allocations: 0 / 1.247 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/0.4213, allocations: 12 kB / 1.247 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4213, allocations: 4 kB / 1.247 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/0.4374, allocations: 2.968 MB / 1.249 GB, free: 144 kB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4933/0.9308, allocations: 17.13 MB / 1.266 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/0.9462, allocations: 2.942 MB / 1.269 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01458/0.9608, allocations: 2.787 MB / 1.272 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.013e-05/0.9609, allocations: 33.25 kB / 1.272 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.9609, allocations: 41.75 kB / 1.272 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 2.345e-06/0.9609, allocations: 3.844 kB / 1.272 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.04689/1.008, allocations: 8.547 MB / 1.28 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/1.008, allocations: 54.84 kB / 1.28 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/1.008, allocations: 343.9 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004123/1.009, allocations: 30.8 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/1.009, allocations: 206.7 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/1.009, allocations: 77.23 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/1.011, allocations: 480 kB / 1.281 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/1.011, allocations: 344.3 kB / 1.282 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02106/1.032, allocations: 3.895 MB / 1.285 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02106/1.053, allocations: 3.927 MB / 1.289 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03454/1.087, allocations: 6.21 MB / 1.295 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.087, allocations: 10.12 kB / 1.295 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04276/1.13, allocations: 8.028 MB / 1.303 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.13, allocations: 8.656 kB / 1.303 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03717/1.167, allocations: 7.288 MB / 1.31 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/1.167, allocations: 1.625 kB / 1.31 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/1.182, allocations: 1.917 MB / 1.312 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.182, allocations: 2.188 kB / 1.312 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/1.195, allocations: 1.509 MB / 1.314 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007558/1.196, allocations: 205.6 kB / 1.314 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02015/1.216, allocations: 3.991 MB / 1.318 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02012/1.237, allocations: 3.933 MB / 1.322 GB, free: 15.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03442/1.271, allocations: 6.196 MB / 1.328 GB, free: 12.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/1.271, allocations: 0 / 1.328 GB, free: 12.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0442/1.315, allocations: 8.023 MB / 1.335 GB, free: 5.176 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.315, allocations: 4 kB / 1.335 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04073/1.356, allocations: 7.28 MB / 1.343 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.356, allocations: 0.6562 kB / 1.343 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01564/1.372, allocations: 1.916 MB / 1.344 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.372, allocations: 0 / 1.344 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01446/1.386, allocations: 1.506 MB / 1.346 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008382/1.387, allocations: 203.5 kB / 1.346 GB, free: 10.27 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008189/1.388, allocations: 192.2 kB / 1.346 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/1.388, allocations: 39.7 kB / 1.346 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03445/1.423, allocations: 6.693 MB / 1.353 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.423, allocations: 4 kB / 1.353 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.423, allocations: 0 / 1.353 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.423, allocations: 3.719 kB / 1.353 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006151/1.429, allocations: 6.494 MB / 1.359 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03173/1.461, allocations: 5.63 MB / 1.365 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01294/1.474, allocations: 1.631 MB / 1.366 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/1.474, allocations: 3.938 kB / 1.366 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005182/1.474, allocations: 175.5 kB / 1.367 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.474, allocations: 4 kB / 1.367 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.474, allocations: 0 / 1.367 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03162/1.506, allocations: 5.768 MB / 1.372 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.507, allocations: 0.5677 MB / 1.373 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/1.508, allocations: 11.38 kB / 1.373 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01166/1.519, allocations: 1.257 MB / 1.374 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.519, allocations: 39.91 kB / 1.374 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004728/1.52, allocations: 179.5 kB / 1.374 GB, free: 12.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002823/1.52, allocations: 235.2 kB / 1.374 GB, free: 11.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/1.52, allocations: 4 kB / 1.374 GB, free: 11.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002475/1.523, allocations: 0.5881 MB / 1.375 GB, free: 11.29 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.033/1.556, allocations: 6.392 MB / 1.381 GB, free: 4.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.05616/1.612, allocations: 10.28 MB / 1.391 GB, free: 10.58 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.612, allocations: 4 kB / 1.391 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.01591/1.628, allocations: 2.905 MB / 1.394 GB, free: 7.668 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.629, allocations: 88.62 kB / 1.394 GB, free: 7.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1212/1.75, allocations: 24.57 MB / 1.418 GB, free: 14.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/1.751, allocations: 0.7962 MB / 1.419 GB, free: 14.1 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.008848/1.759, allocations: 1.64 MB / 1.421 GB, free: 12.46 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/1.762, allocations: 0.5958 MB / 1.421 GB, free: 11.87 MB / 1.107 GB Notification: Performance of SimCode: time 7.41e-07/1.762, allocations: 0 / 1.421 GB, free: 11.87 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/1.909, allocations: 88.25 MB / 1.507 GB, free: 3.473 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/16.42, allocations: 10.44 kB / 1.507 GB, free: 3.465 MB / 1.186 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches