Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_10_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.006869/0.006869, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001711/0.001711, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.294/1.294, 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 10.1.1-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.88 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6483/0.6495, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003837/0.6534, allocations: 2.831 MB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003639/0.6571, allocations: 2.952 MB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.6572, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.6574, allocations: 79.36 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004562/0.6579, allocations: 215.5 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.659, allocations: 0.6076 MB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.6596, allocations: 0.5329 MB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.6598, allocations: 110.6 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.66, allocations: 199.3 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.6602, allocations: 227.1 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.6603, allocations: 36 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.661, allocations: 395.6 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.661, allocations: 91.67 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.6612, allocations: 214.9 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.6621, allocations: 0.7318 MB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6621, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6621, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.6621, allocations: 4 kB / 1.175 GB, free: 10.51 MB / 0.9044 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.001045/0.6632, allocations: 0.7702 MB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.6632, allocations: 8.625 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.729e-05/0.6633, allocations: 58.73 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09204/0.7553, allocations: 12.21 MB / 1.188 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.7575, allocations: 0.9327 MB / 1.189 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.7575, allocations: 20.94 kB / 1.189 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006442/0.7582, allocations: 24.38 kB / 1.189 GB, free: 12.37 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.7732, allocations: 3.738 MB / 1.193 GB, free: 8.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.7732, allocations: 0 / 1.193 GB, free: 8.625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.7735, allocations: 12 kB / 1.193 GB, free: 8.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.7735, allocations: 4 kB / 1.193 GB, free: 8.609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.7871, allocations: 2.969 MB / 1.195 GB, free: 5.637 MB / 0.92 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.01385/0.8009, allocations: 17.17 MB / 1.212 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.8144, allocations: 2.934 MB / 1.215 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01298/0.8274, allocations: 2.803 MB / 1.218 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/0.8275, allocations: 31.98 kB / 1.218 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.8276, allocations: 30.56 kB / 1.218 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/0.8276, allocations: 0 / 1.218 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22): time 0.04011/0.8677, allocations: 8.547 MB / 1.226 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8678, allocations: 55.41 kB / 1.226 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.8682, allocations: 349.7 kB / 1.227 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004444/0.8686, allocations: 29.7 kB / 1.227 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.8689, allocations: 192.7 kB / 1.227 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.8692, allocations: 83.27 kB / 1.227 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/0.8707, allocations: 480.9 kB / 1.227 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8708, allocations: 338.8 kB / 1.228 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.019/0.8898, allocations: 3.901 MB / 1.231 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01913/0.909, allocations: 3.932 MB / 1.235 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03188/0.9409, allocations: 6.207 MB / 1.241 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.9409, allocations: 3.938 kB / 1.241 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03963/0.9806, allocations: 8.03 MB / 1.249 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.9806, allocations: 8 kB / 1.249 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0382/1.019, allocations: 7.283 MB / 1.256 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.019, allocations: 7.938 kB / 1.256 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0214/1.04, allocations: 1.919 MB / 1.258 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.04, allocations: 0 / 1.258 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01896/1.059, allocations: 1.506 MB / 1.26 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009748/1.06, allocations: 203.5 kB / 1.26 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01959/1.08, allocations: 3.997 MB / 1.264 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01892/1.099, allocations: 3.922 MB / 1.268 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04824/1.147, allocations: 6.192 MB / 1.274 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-05/1.147, allocations: 3.938 kB / 1.274 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04796/1.195, allocations: 8.026 MB / 1.282 GB, free: 9.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.195, allocations: 4 kB / 1.282 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03617/1.231, allocations: 7.283 MB / 1.289 GB, free: 2.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/1.231, allocations: 0 / 1.289 GB, free: 2.438 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01374/1.245, allocations: 1.916 MB / 1.29 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/1.245, allocations: 0 / 1.29 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/1.258, allocations: 1.506 MB / 1.292 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000566/1.258, allocations: 203.5 kB / 1.292 GB, free: 14.81 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.0007504/1.259, allocations: 192.1 kB / 1.292 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004426/1.259, allocations: 39.77 kB / 1.292 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03074/1.29, allocations: 6.697 MB / 1.299 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/1.29, allocations: 4 kB / 1.299 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.29, allocations: 0 / 1.299 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.29, allocations: 0 / 1.299 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/1.295, allocations: 6.492 MB / 1.305 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02762/1.323, allocations: 5.634 MB / 1.311 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01153/1.334, allocations: 1.623 MB / 1.312 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.334, allocations: 0 / 1.312 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003794/1.334, allocations: 179.5 kB / 1.313 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.335, allocations: 4 kB / 1.313 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.335, allocations: 0 / 1.313 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02709/1.362, allocations: 5.775 MB / 1.318 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.363, allocations: 0.5547 MB / 1.319 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/1.363, allocations: 11.94 kB / 1.319 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/1.374, allocations: 1.257 MB / 1.32 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.374, allocations: 39.91 kB / 1.32 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004576/1.374, allocations: 175.6 kB / 1.32 GB, free: 0.582 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000252/1.375, allocations: 235.2 kB / 1.32 GB, free: 364 kB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/1.375, allocations: 0 / 1.32 GB, free: 364 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.002342/1.377, allocations: 0.5972 MB / 1.321 GB, free: 15.75 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.0287/1.406, allocations: 6.398 MB / 1.327 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.04931/1.455, allocations: 10.28 MB / 1.337 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.455, allocations: 0 / 1.337 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.01363/1.469, allocations: 2.903 MB / 1.34 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/1.47, allocations: 84 kB / 1.34 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/1.576, allocations: 24.57 MB / 1.364 GB, free: 3.375 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.577, allocations: 0.8038 MB / 1.365 GB, free: 2.547 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.008002/1.585, allocations: 1.634 MB / 1.367 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/1.587, allocations: 0.5997 MB / 1.367 GB, free: 320 kB / 1.092 GB Notification: Performance of SimCode: time 7.92e-07/1.587, allocations: 0 / 1.367 GB, free: 320 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.705, allocations: 88.26 MB / 1.453 GB, free: 7.906 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.74, allocations: 4.906 kB / 1.453 GB, free: 7.906 MB / 1.186 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches