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.005682/0.005682, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.001505/0.001505, allocations: 190.3 kB / 16.67 MB, free: 5.871 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.428/2.428, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6094/0.6111, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003532/0.6147, allocations: 2.836 MB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003587/0.6183, allocations: 2.963 MB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.6184, allocations: 4 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.6186, allocations: 83.33 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.619, allocations: 205.2 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.6201, allocations: 0.6142 MB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000563/0.6207, allocations: 0.5368 MB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.6209, allocations: 114.6 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.6211, allocations: 191.4 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.6213, allocations: 223 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.6214, allocations: 36 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006412/0.622, allocations: 387.7 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.6221, allocations: 95.66 kB / 1.228 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.6223, allocations: 218.9 kB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.6231, allocations: 0.7279 MB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6231, allocations: 0 / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6232, allocations: 0 / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.6232, allocations: 0 / 1.229 GB, free: 8.816 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.001007/0.6242, allocations: 0.7741 MB / 1.23 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6242, allocations: 12.03 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.6243, allocations: 62.72 kB / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08889/0.7132, allocations: 12.21 MB / 1.242 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.7146, allocations: 0.9288 MB / 1.243 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.7146, allocations: 20.94 kB / 1.243 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/0.715, allocations: 28.38 kB / 1.243 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.7298, allocations: 3.738 MB / 1.247 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.7298, allocations: 0 / 1.247 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.73, allocations: 8 kB / 1.247 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.7301, allocations: 8 kB / 1.247 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.7438, allocations: 2.965 MB / 1.249 GB, free: 3.941 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.0145/0.7583, allocations: 17.16 MB / 1.266 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/0.7718, allocations: 2.934 MB / 1.269 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01301/0.7848, allocations: 2.792 MB / 1.272 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.202e-05/0.7849, allocations: 35.97 kB / 1.272 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.7849, allocations: 34.56 kB / 1.272 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.7849, allocations: 7.875 kB / 1.272 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.03989/0.8248, allocations: 8.547 MB / 1.28 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.8249, allocations: 51.41 kB / 1.28 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.8252, allocations: 341.8 kB / 1.281 GB, free: 424 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.8255, allocations: 29.7 kB / 1.281 GB, free: 388 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.8257, allocations: 204.6 kB / 1.281 GB, free: 180 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.826, allocations: 79.31 kB / 1.281 GB, free: 100 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.8272, allocations: 480.8 kB / 1.281 GB, free: 15.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8274, allocations: 346.8 kB / 1.282 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01879/0.8462, allocations: 3.889 MB / 1.285 GB, free: 11.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01867/0.8649, allocations: 3.934 MB / 1.289 GB, free: 7.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03097/0.8959, allocations: 6.213 MB / 1.295 GB, free: 1.211 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.8959, allocations: 3.938 kB / 1.295 GB, free: 1.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03801/0.9339, allocations: 8.03 MB / 1.303 GB, free: 9.164 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.9339, allocations: 4 kB / 1.303 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03377/0.9677, allocations: 7.287 MB / 1.31 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9677, allocations: 0 / 1.31 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01321/0.9809, allocations: 1.908 MB / 1.312 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.9809, allocations: 7.938 kB / 1.312 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/0.9929, allocations: 1.51 MB / 1.314 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/0.9934, allocations: 207.5 kB / 1.314 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01839/1.012, allocations: 3.989 MB / 1.318 GB, free: 10.24 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01817/1.03, allocations: 3.926 MB / 1.322 GB, free: 6.297 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03078/1.061, allocations: 6.2 MB / 1.328 GB, free: 92 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/1.061, allocations: 3.938 kB / 1.328 GB, free: 88 kB / 1.045 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0381/1.099, allocations: 8.014 MB / 1.335 GB, free: 8.059 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.099, allocations: 14.03 kB / 1.335 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03426/1.133, allocations: 7.271 MB / 1.343 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/1.133, allocations: 4 kB / 1.343 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01331/1.147, allocations: 1.919 MB / 1.344 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/1.147, allocations: 0 / 1.344 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/1.159, allocations: 1.495 MB / 1.346 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/1.159, allocations: 211.5 kB / 1.346 GB, free: 13.14 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.0006689/1.16, allocations: 192.1 kB / 1.346 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/1.16, allocations: 43.77 kB / 1.346 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02993/1.19, allocations: 6.689 MB / 1.353 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.19, allocations: 11.92 kB / 1.353 GB, free: 6.191 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.19, allocations: 3.938 kB / 1.353 GB, free: 6.188 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.19, allocations: 7.984 kB / 1.353 GB, free: 6.18 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/1.195, allocations: 6.48 MB / 1.359 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02698/1.222, allocations: 5.626 MB / 1.365 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01114/1.233, allocations: 1.631 MB / 1.366 GB, free: 6.934 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.233, allocations: 4 kB / 1.366 GB, free: 6.93 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000354/1.234, allocations: 179.5 kB / 1.367 GB, free: 6.754 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/1.234, allocations: 4 kB / 1.367 GB, free: 6.75 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.234, allocations: 0 / 1.367 GB, free: 6.75 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02686/1.261, allocations: 5.768 MB / 1.372 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008369/1.262, allocations: 0.5624 MB / 1.373 GB, free: 388 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/1.262, allocations: 4 kB / 1.373 GB, free: 384 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01029/1.272, allocations: 1.261 MB / 1.374 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.272, allocations: 43.91 kB / 1.374 GB, free: 15.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000382/1.273, allocations: 175.5 kB / 1.374 GB, free: 14.9 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002247/1.273, allocations: 235.2 kB / 1.374 GB, free: 14.67 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.273, allocations: 0 / 1.374 GB, free: 14.67 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002042/1.275, allocations: 0.5934 MB / 1.375 GB, free: 14.08 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.02839/1.303, allocations: 6.395 MB / 1.381 GB, free: 7.652 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.04887/1.352, allocations: 10.28 MB / 1.391 GB, free: 13.36 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.352, allocations: 4 kB / 1.391 GB, free: 13.36 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01377/1.366, allocations: 2.912 MB / 1.394 GB, free: 10.45 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/1.367, allocations: 85.45 kB / 1.394 GB, free: 10.36 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1033/1.47, allocations: 24.58 MB / 1.418 GB, free: 1.676 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/1.471, allocations: 0.7923 MB / 1.419 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.007472/1.478, allocations: 1.638 MB / 1.421 GB, free: 15.22 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002528/1.481, allocations: 0.5919 MB / 1.421 GB, free: 14.62 MB / 1.154 GB Notification: Performance of SimCode: time 3.2e-07/1.481, allocations: 0 / 1.421 GB, free: 14.62 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.644/4.124, allocations: 88.26 MB / 1.507 GB, free: 6.219 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.06/27.18, allocations: 11.94 kB / 1.507 GB, free: 6.207 MB / 1.232 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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