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.001913/0.001913, allocations: 108.6 kB / 15.73 MB, free: 72 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.002174/0.002175, allocations: 186.6 kB / 16.66 MB, free: 6.602 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.703/2.703, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2776, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004104/0.2817, allocations: 2.835 MB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004342/0.2861, allocations: 2.96 MB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2862, allocations: 4 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.2865, allocations: 75.56 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.2871, allocations: 214.2 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.2885, allocations: 0.6071 MB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.2892, allocations: 0.5408 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.2894, allocations: 110.6 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.2897, allocations: 191.3 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.2899, allocations: 219.1 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.453e-05/0.29, allocations: 40 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008071/0.2908, allocations: 387.7 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.2909, allocations: 95.61 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.2912, allocations: 218.9 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.2922, allocations: 0.7395 MB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2922, allocations: 0 / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2922, allocations: 0 / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.2922, allocations: 0 / 1.175 GB, free: 13.98 MB / 0.9356 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.001174/0.2934, allocations: 0.7586 MB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2935, allocations: 12.03 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.193e-05/0.2935, allocations: 62.72 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1002/0.3938, allocations: 12.21 MB / 1.188 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.3959, allocations: 0.9404 MB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.396, allocations: 20.94 kB / 1.189 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007469/0.3967, allocations: 28.38 kB / 1.189 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.4139, allocations: 3.734 MB / 1.193 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.414, allocations: 4 kB / 1.193 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.4144, allocations: 8 kB / 1.193 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.4144, allocations: 8 kB / 1.193 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.4297, allocations: 2.965 MB / 1.195 GB, free: 9.105 MB / 0.9512 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.01895/0.4487, allocations: 17.16 MB / 1.212 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.4641, allocations: 2.934 MB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01507/0.4792, allocations: 2.784 MB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.4793, allocations: 35.98 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4794, allocations: 34.5 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 2.916e-06/0.4794, allocations: 4 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.04674/0.5262, allocations: 8.547 MB / 1.226 GB, free: 6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.5262, allocations: 59.41 kB / 1.226 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.5267, allocations: 349.7 kB / 1.227 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000518/0.5272, allocations: 25.7 kB / 1.227 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.5275, allocations: 200.7 kB / 1.227 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.5279, allocations: 79.28 kB / 1.227 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/0.5296, allocations: 476.9 kB / 1.227 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5298, allocations: 346.8 kB / 1.228 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02093/0.5507, allocations: 3.893 MB / 1.231 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02128/0.5721, allocations: 3.931 MB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03546/0.6075, allocations: 6.215 MB / 1.241 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.6076, allocations: 3.938 kB / 1.241 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.5148/1.122, allocations: 8.027 MB / 1.249 GB, free: 81.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.122, allocations: 5.828 kB / 1.249 GB, free: 81.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03929/1.162, allocations: 7.289 MB / 1.256 GB, free: 81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/1.162, allocations: 1.188 kB / 1.256 GB, free: 81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01494/1.177, allocations: 1.914 MB / 1.258 GB, free: 80.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.177, allocations: 7.156 kB / 1.258 GB, free: 80.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/1.191, allocations: 1.509 MB / 1.26 GB, free: 80.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008608/1.191, allocations: 204.3 kB / 1.26 GB, free: 80.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02053/1.212, allocations: 3.988 MB / 1.264 GB, free: 80.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02015/1.232, allocations: 3.924 MB / 1.268 GB, free: 79.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03394/1.266, allocations: 6.201 MB / 1.274 GB, free: 77.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/1.266, allocations: 3.75 kB / 1.274 GB, free: 77.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04288/1.309, allocations: 8.024 MB / 1.281 GB, free: 76.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.309, allocations: 5.188 kB / 1.281 GB, free: 76.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0379/1.347, allocations: 7.278 MB / 1.289 GB, free: 74.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/1.347, allocations: 1.094 kB / 1.289 GB, free: 74.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/1.362, allocations: 1.917 MB / 1.29 GB, free: 74.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.362, allocations: 3.938 kB / 1.29 GB, free: 74.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01337/1.375, allocations: 1.494 MB / 1.292 GB, free: 74.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006785/1.376, allocations: 206.7 kB / 1.292 GB, free: 73.95 MB / 0.9981 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.0009797/1.377, allocations: 199.1 kB / 1.292 GB, free: 73.76 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005645/1.377, allocations: 38.22 kB / 1.292 GB, free: 73.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0304/1.408, allocations: 6.678 MB / 1.299 GB, free: 69.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.408, allocations: 4 kB / 1.299 GB, free: 69.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.408, allocations: 0 / 1.299 GB, free: 69.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.408, allocations: 8.547 kB / 1.299 GB, free: 69.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/1.411, allocations: 6.49 MB / 1.305 GB, free: 62.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0277/1.439, allocations: 5.631 MB / 1.311 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01187/1.451, allocations: 1.636 MB / 1.312 GB, free: 54.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/1.451, allocations: 0 / 1.312 GB, free: 54.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005072/1.451, allocations: 177 kB / 1.312 GB, free: 54.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.451, allocations: 4.562 kB / 1.312 GB, free: 54.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.451, allocations: 0 / 1.312 GB, free: 54.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02832/1.48, allocations: 5.771 MB / 1.318 GB, free: 48.78 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000981/1.481, allocations: 0.5667 MB / 1.319 GB, free: 48.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004813/1.481, allocations: 4 kB / 1.319 GB, free: 48.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01104/1.492, allocations: 1.26 MB / 1.32 GB, free: 46.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.492, allocations: 39.91 kB / 1.32 GB, free: 46.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004622/1.493, allocations: 175.5 kB / 1.32 GB, free: 46.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002121/1.493, allocations: 239.2 kB / 1.32 GB, free: 46.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.493, allocations: 0 / 1.32 GB, free: 46.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002463/1.496, allocations: 0.5922 MB / 1.321 GB, free: 45.92 MB / 0.9981 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.02909/1.525, allocations: 6.401 MB / 1.327 GB, free: 39.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.04992/1.575, allocations: 10.29 MB / 1.337 GB, free: 29.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.575, allocations: 4 kB / 1.337 GB, free: 29.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01422/1.589, allocations: 2.903 MB / 1.34 GB, free: 26.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.59, allocations: 86.38 kB / 1.34 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1089/1.699, allocations: 24.57 MB / 1.364 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/1.699, allocations: 0.7934 MB / 1.365 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.008534/1.708, allocations: 1.63 MB / 1.367 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/1.711, allocations: 0.5958 MB / 1.367 GB, free: 14.55 MB / 1.014 GB Notification: Performance of SimCode: time 2.184e-06/1.711, allocations: 0 / 1.367 GB, free: 14.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/1.859, allocations: 88.26 MB / 1.453 GB, free: 6.156 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.94, allocations: 3.625 kB / 1.453 GB, free: 6.156 MB / 1.092 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