Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_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.008145/0.008145, allocations: 99.45 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.001967/0.001967, allocations: 197 kB / 16.67 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.561/2.561, allocations: 469.4 MB / 0.7422 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 55.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.6774, allocations: 159.1 MB / 1.22 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003869/0.6813, allocations: 2.842 MB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003834/0.6851, allocations: 2.967 MB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.6853, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.6856, allocations: 71.36 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.6862, allocations: 217.2 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.6876, allocations: 0.6121 MB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.6882, allocations: 0.5329 MB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.6884, allocations: 118.6 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.6887, allocations: 191.4 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.689, allocations: 223.1 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.689, allocations: 43.94 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.6897, allocations: 387.7 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.6898, allocations: 91.67 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.69, allocations: 214.9 kB / 1.228 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000885/0.6909, allocations: 0.7318 MB / 1.229 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6909, allocations: 0 / 1.229 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6909, allocations: 4 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.691, allocations: 4 kB / 1.229 GB, free: 9.059 MB / 0.9512 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.001114/0.6921, allocations: 0.7702 MB / 1.23 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6921, allocations: 8.625 kB / 1.23 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.6922, allocations: 58.73 kB / 1.23 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0965/0.7887, allocations: 12.21 MB / 1.241 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.7907, allocations: 0.9288 MB / 1.242 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.7907, allocations: 20.94 kB / 1.242 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006418/0.7914, allocations: 24.38 kB / 1.242 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/0.8068, allocations: 3.742 MB / 1.246 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.8068, allocations: 0 / 1.246 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.8071, allocations: 12 kB / 1.246 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.8071, allocations: 4 kB / 1.246 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.8214, allocations: 2.965 MB / 1.249 GB, free: 4.199 MB / 0.9669 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.01398/0.8354, allocations: 17.17 MB / 1.266 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.014/0.8494, allocations: 2.937 MB / 1.269 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0138/0.8632, allocations: 2.792 MB / 1.271 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.221e-05/0.8633, allocations: 31.98 kB / 1.271 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.8633, allocations: 34.56 kB / 1.271 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.8633, allocations: 0 / 1.271 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.04291/0.9062, allocations: 8.553 MB / 1.28 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.9063, allocations: 55.41 kB / 1.28 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.9066, allocations: 337.8 kB / 1.28 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004118/0.9071, allocations: 33.7 kB / 1.28 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.9073, allocations: 196.6 kB / 1.28 GB, free: 444 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.9077, allocations: 79.31 kB / 1.28 GB, free: 364 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/0.9091, allocations: 484.9 kB / 1.281 GB, free: 15.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9092, allocations: 342.8 kB / 1.281 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01968/0.9289, allocations: 3.897 MB / 1.285 GB, free: 11.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01979/0.9487, allocations: 3.927 MB / 1.289 GB, free: 7.684 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03305/0.9818, allocations: 6.213 MB / 1.295 GB, free: 1.469 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.9818, allocations: 3.938 kB / 1.295 GB, free: 1.465 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04079/1.023, allocations: 8.03 MB / 1.303 GB, free: 9.422 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.023, allocations: 7.984 kB / 1.303 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03625/1.059, allocations: 7.279 MB / 1.31 GB, free: 2.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.059, allocations: 8 kB / 1.31 GB, free: 2.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/1.073, allocations: 1.916 MB / 1.312 GB, free: 208 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/1.074, allocations: 4 kB / 1.312 GB, free: 204 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01333/1.087, allocations: 1.502 MB / 1.313 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005155/1.087, allocations: 211.4 kB / 1.313 GB, free: 14.49 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01982/1.107, allocations: 3.993 MB / 1.317 GB, free: 10.49 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01946/1.127, allocations: 3.926 MB / 1.321 GB, free: 6.547 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03213/1.159, allocations: 6.196 MB / 1.327 GB, free: 352 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/1.159, allocations: 3.938 kB / 1.327 GB, free: 348 kB / 1.045 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04019/1.199, allocations: 8.026 MB / 1.335 GB, free: 8.301 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.199, allocations: 4 kB / 1.335 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03598/1.235, allocations: 7.283 MB / 1.342 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/1.235, allocations: 0 / 1.342 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/1.25, allocations: 1.912 MB / 1.344 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.25, allocations: 0 / 1.344 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0131/1.263, allocations: 1.502 MB / 1.346 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005116/1.263, allocations: 207.4 kB / 1.346 GB, free: 13.38 MB / 1.076 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.0008391/1.264, allocations: 204.7 kB / 1.346 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/1.265, allocations: 39.7 kB / 1.346 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03115/1.296, allocations: 6.682 MB / 1.353 GB, free: 6.445 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/1.296, allocations: 8 kB / 1.353 GB, free: 6.438 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.296, allocations: 0 / 1.353 GB, free: 6.438 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.296, allocations: 4 kB / 1.353 GB, free: 6.434 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/1.301, allocations: 6.488 MB / 1.359 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.028/1.329, allocations: 5.634 MB / 1.364 GB, free: 8.805 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01219/1.341, allocations: 1.623 MB / 1.366 GB, free: 7.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/1.341, allocations: 4 kB / 1.366 GB, free: 7.176 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003439/1.341, allocations: 175.5 kB / 1.366 GB, free: 7.004 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/1.341, allocations: 0 / 1.366 GB, free: 7.004 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.341, allocations: 3.984 kB / 1.366 GB, free: 7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02858/1.37, allocations: 5.772 MB / 1.372 GB, free: 1.207 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.371, allocations: 0.5663 MB / 1.372 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004467/1.372, allocations: 4 kB / 1.372 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01117/1.383, allocations: 1.257 MB / 1.374 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.383, allocations: 35.91 kB / 1.374 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000392/1.383, allocations: 179.5 kB / 1.374 GB, free: 15.15 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000235/1.383, allocations: 235.2 kB / 1.374 GB, free: 14.92 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.383, allocations: 0 / 1.374 GB, free: 14.92 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002436/1.386, allocations: 0.5933 MB / 1.375 GB, free: 14.33 MB / 1.107 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.02946/1.415, allocations: 6.394 MB / 1.381 GB, free: 7.902 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.05045/1.466, allocations: 10.29 MB / 1.391 GB, free: 13.61 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.466, allocations: 0 / 1.391 GB, free: 13.61 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01415/1.48, allocations: 2.904 MB / 1.394 GB, free: 10.7 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.481, allocations: 83.47 kB / 1.394 GB, free: 10.61 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1077/1.589, allocations: 24.58 MB / 1.418 GB, free: 1.941 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/1.589, allocations: 0.7923 MB / 1.419 GB, free: 1.125 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.007957/1.597, allocations: 1.638 MB / 1.42 GB, free: 15.49 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002823/1.6, allocations: 0.5919 MB / 1.421 GB, free: 14.89 MB / 1.154 GB Notification: Performance of SimCode: time 8.82e-07/1.6, allocations: 0 / 1.421 GB, free: 14.89 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.721, allocations: 88.27 MB / 1.507 GB, free: 6.496 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/16.43, allocations: 7.375 kB / 1.507 GB, free: 6.496 MB / 1.232 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches