Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_9_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.004796/0.004796, allocations: 100.5 kB / 15.73 MB, free: 5.602 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.001231/0.001231, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.261/1.261, 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 9.1.3-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 59.91 kB / 0.9504 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7001/0.7027, allocations: 140.4 MB / 1.087 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003111/0.7058, allocations: 2.843 MB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.7092, allocations: 2.947 MB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.7093, allocations: 7 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.7095, allocations: 79.16 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.71, allocations: 209 kB / 1.093 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.7113, allocations: 0.6103 MB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.7118, allocations: 0.5406 MB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.712, allocations: 112.5 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.7122, allocations: 202.5 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.7125, allocations: 214.2 kB / 1.095 GB, free: 68 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.7125, allocations: 42.12 kB / 1.095 GB, free: 64 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.7134, allocations: 391.3 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.7135, allocations: 90.16 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.7137, allocations: 219.1 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.7147, allocations: 0.7349 MB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7148, allocations: 0 / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7148, allocations: 1.281 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7148, allocations: 0 / 1.096 GB, free: 15.5 MB / 0.8731 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.001123/0.7159, allocations: 0.7644 MB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.7159, allocations: 10.31 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.716, allocations: 64.8 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1021/0.8181, allocations: 12.21 MB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.8206, allocations: 0.9233 MB / 1.11 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.8206, allocations: 24.16 kB / 1.11 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005727/0.8212, allocations: 26.22 kB / 1.11 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.838, allocations: 3.74 MB / 1.114 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.838, allocations: 3.938 kB / 1.114 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003301/0.8384, allocations: 14.86 kB / 1.114 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.8384, allocations: 6.562 kB / 1.114 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.8535, allocations: 2.967 MB / 1.117 GB, free: 12.27 MB / 0.8731 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.01577/0.8693, allocations: 17.15 MB / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/0.8843, allocations: 2.934 MB / 1.136 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01437/0.8986, allocations: 2.793 MB / 1.139 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.974e-05/0.8988, allocations: 32.02 kB / 1.139 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.8988, allocations: 31.66 kB / 1.139 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.8988, allocations: 0 / 1.139 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.04444/0.9432, allocations: 8.55 MB / 1.147 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.9433, allocations: 58.12 kB / 1.148 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.9437, allocations: 348.2 kB / 1.148 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004654/0.9442, allocations: 26.86 kB / 1.148 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.9445, allocations: 199.7 kB / 1.148 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.9449, allocations: 80.59 kB / 1.148 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/0.9464, allocations: 480.7 kB / 1.149 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9466, allocations: 346.4 kB / 1.149 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02043/0.967, allocations: 3.891 MB / 1.153 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02102/0.988, allocations: 3.93 MB / 1.157 GB, free: 236 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03441/1.022, allocations: 6.209 MB / 1.163 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.023, allocations: 3.938 kB / 1.163 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04481/1.067, allocations: 8.042 MB / 1.171 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.067, allocations: 8 kB / 1.171 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03961/1.107, allocations: 7.283 MB / 1.178 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.107, allocations: 0 / 1.178 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01577/1.123, allocations: 1.916 MB / 1.18 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/1.123, allocations: 0 / 1.18 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01463/1.138, allocations: 1.506 MB / 1.181 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009252/1.138, allocations: 207.5 kB / 1.181 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02209/1.161, allocations: 3.989 MB / 1.185 GB, free: 6.508 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02106/1.182, allocations: 3.934 MB / 1.189 GB, free: 2.559 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03521/1.217, allocations: 6.203 MB / 1.195 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/1.217, allocations: 3.938 kB / 1.195 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04258/1.26, allocations: 8.018 MB / 1.203 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.26, allocations: 7.984 kB / 1.203 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03821/1.298, allocations: 7.271 MB / 1.21 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.298, allocations: 0 / 1.21 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01503/1.313, allocations: 1.916 MB / 1.212 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/1.313, allocations: 4 kB / 1.212 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/1.327, allocations: 1.498 MB / 1.213 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000654/1.327, allocations: 207.4 kB / 1.213 GB, free: 9.402 MB / 0.9512 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.001021/1.328, allocations: 192.2 kB / 1.214 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006533/1.329, allocations: 35.77 kB / 1.214 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03229/1.361, allocations: 6.696 MB / 1.22 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.361, allocations: 4 kB / 1.22 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.361, allocations: 0 / 1.22 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.361, allocations: 0 / 1.22 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/1.367, allocations: 6.491 MB / 1.227 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02925/1.396, allocations: 5.626 MB / 1.232 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01273/1.409, allocations: 1.627 MB / 1.234 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.409, allocations: 0 / 1.234 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004385/1.409, allocations: 187.5 kB / 1.234 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.409, allocations: 0 / 1.234 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.409, allocations: 7.938 kB / 1.234 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02959/1.439, allocations: 5.779 MB / 1.239 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.44, allocations: 0.5625 MB / 1.24 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004998/1.441, allocations: 4 kB / 1.24 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01163/1.452, allocations: 1.261 MB / 1.241 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.452, allocations: 43.91 kB / 1.241 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004569/1.453, allocations: 175.5 kB / 1.241 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002686/1.453, allocations: 235.2 kB / 1.242 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.453, allocations: 0 / 1.242 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002769/1.456, allocations: 0.5894 MB / 1.242 GB, free: 10.33 MB / 0.9825 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.03107/1.487, allocations: 6.386 MB / 1.248 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05279/1.54, allocations: 10.29 MB / 1.259 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.54, allocations: 0 / 1.259 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01492/1.555, allocations: 2.9 MB / 1.261 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.556, allocations: 91.94 kB / 1.261 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1155/1.672, allocations: 24.59 MB / 1.285 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/1.672, allocations: 0.7962 MB / 1.286 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.009105/1.681, allocations: 1.63 MB / 1.288 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003119/1.684, allocations: 0.5919 MB / 1.288 GB, free: 10.88 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/1.684, allocations: 7.938 kB / 1.288 GB, free: 10.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/1.824, allocations: 88.25 MB / 1.375 GB, free: 2.465 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.79, allocations: 11.62 kB / 1.375 GB, free: 2.453 MB / 1.107 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches