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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001098/0.001098, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 197.7 kB / 16.53 MB, free: 6.672 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 70.48 kB / 0.9083 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2359, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003646/0.2396, allocations: 2.848 MB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.2432, allocations: 2.947 MB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2433, allocations: 4 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.2436, allocations: 79.56 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000447/0.244, allocations: 210.5 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2451, allocations: 0.6097 MB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.2457, allocations: 0.529 MB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2458, allocations: 106.7 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.246, allocations: 191.4 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2462, allocations: 219 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.2463, allocations: 40 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006583/0.247, allocations: 387.7 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.2471, allocations: 99.61 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.2472, allocations: 211 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007887/0.248, allocations: 0.7284 MB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2481, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2481, allocations: 3.938 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2481, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 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.001012/0.2491, allocations: 0.7517 MB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2491, allocations: 8.031 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.2492, allocations: 58.73 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1008/0.35, allocations: 12.21 MB / 1.085 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3517, allocations: 0.9285 MB / 1.086 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3517, allocations: 20.94 kB / 1.086 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004923/0.3522, allocations: 28.38 kB / 1.086 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.3682, allocations: 3.738 MB / 1.09 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3682, allocations: 4 kB / 1.09 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/0.3685, allocations: 8 kB / 1.09 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3685, allocations: 4 kB / 1.09 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.3835, allocations: 2.969 MB / 1.093 GB, free: 408 kB / 0.8419 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.01395/0.3974, allocations: 17.16 MB / 1.11 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/0.4123, allocations: 2.935 MB / 1.113 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01422/0.4266, allocations: 2.795 MB / 1.115 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.4267, allocations: 31.92 kB / 1.115 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4267, allocations: 38.56 kB / 1.115 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.465e-06/0.4267, allocations: 0 / 1.115 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04552/0.4723, allocations: 8.546 MB / 1.124 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4723, allocations: 51.41 kB / 1.124 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.4727, allocations: 345.8 kB / 1.124 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005147/0.4733, allocations: 25.7 kB / 1.124 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.4735, allocations: 204.4 kB / 1.124 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.474, allocations: 74.84 kB / 1.124 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.4755, allocations: 484.9 kB / 1.125 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4756, allocations: 342.8 kB / 1.125 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02024/0.4958, allocations: 3.897 MB / 1.129 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02025/0.5161, allocations: 3.931 MB / 1.133 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03352/0.5497, allocations: 6.201 MB / 1.139 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.5497, allocations: 3.938 kB / 1.139 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04112/0.5908, allocations: 8.038 MB / 1.147 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5909, allocations: 4 kB / 1.147 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03711/0.628, allocations: 7.295 MB / 1.154 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.6281, allocations: 4 kB / 1.154 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01489/0.643, allocations: 1.912 MB / 1.156 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.643, allocations: 4 kB / 1.156 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/0.6565, allocations: 1.502 MB / 1.157 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006216/0.6571, allocations: 211.4 kB / 1.157 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01988/0.677, allocations: 3.989 MB / 1.161 GB, free: 6.703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01957/0.6966, allocations: 3.922 MB / 1.165 GB, free: 2.766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03277/0.7294, allocations: 6.196 MB / 1.171 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.901e-06/0.7295, allocations: 3.938 kB / 1.171 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04039/0.7699, allocations: 8.025 MB / 1.179 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.7699, allocations: 8 kB / 1.179 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03659/0.8065, allocations: 7.276 MB / 1.186 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.8066, allocations: 4 kB / 1.186 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/0.8212, allocations: 1.916 MB / 1.188 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.8213, allocations: 7.984 kB / 1.188 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/0.8349, allocations: 1.498 MB / 1.189 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006711/0.8356, allocations: 211.5 kB / 1.19 GB, free: 9.594 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.0009609/0.8366, allocations: 196.1 kB / 1.19 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/0.8372, allocations: 35.47 kB / 1.19 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03283/0.87, allocations: 6.696 MB / 1.196 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.8701, allocations: 7.984 kB / 1.196 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8701, allocations: 0 / 1.196 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.8701, allocations: 0 / 1.196 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/0.8749, allocations: 6.487 MB / 1.203 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02953/0.9044, allocations: 5.633 MB / 1.208 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01249/0.917, allocations: 1.627 MB / 1.21 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.917, allocations: 4 kB / 1.21 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004345/0.9174, allocations: 171.5 kB / 1.21 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.9175, allocations: 8 kB / 1.21 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9175, allocations: 0 / 1.21 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02954/0.947, allocations: 5.775 MB / 1.216 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.948, allocations: 0.5583 MB / 1.216 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004733/0.9485, allocations: 8 kB / 1.216 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01158/0.9601, allocations: 1.261 MB / 1.217 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.9603, allocations: 39.91 kB / 1.217 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004606/0.9608, allocations: 175.5 kB / 1.218 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002555/0.961, allocations: 239.2 kB / 1.218 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.961, allocations: 0 / 1.218 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002539/0.9636, allocations: 0.5895 MB / 1.218 GB, free: 10.53 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.03067/0.9943, allocations: 6.387 MB / 1.225 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05242/1.047, allocations: 10.3 MB / 1.235 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.047, allocations: 0 / 1.235 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01481/1.062, allocations: 2.908 MB / 1.238 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.063, allocations: 89.84 kB / 1.238 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5029/1.566, allocations: 24.57 MB / 1.262 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/1.566, allocations: 0.7916 MB / 1.262 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01037/1.576, allocations: 1.652 MB / 1.264 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002782/1.579, allocations: 0.5996 MB / 1.265 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.579, allocations: 1.281 kB / 1.265 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.682, allocations: 88.19 MB / 1.351 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/15.15, allocations: 6.531 kB / 1.351 GB, free: 108.7 MB / 0.9981 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