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.001137/0.001137, allocations: 108 kB / 15.61 MB, free: 152 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.001151/0.001151, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.533/2.533, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5213, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003737/0.525, allocations: 2.838 MB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.5287, allocations: 2.96 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.5289, allocations: 4 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.5291, allocations: 81.58 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.5296, allocations: 210.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.5308, allocations: 0.6105 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.5314, allocations: 0.5329 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.5316, allocations: 110.7 kB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.5317, allocations: 187.4 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.532, allocations: 219.1 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.532, allocations: 36 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.5327, allocations: 403.6 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.5328, allocations: 91.67 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.533, allocations: 215 kB / 1.026 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008254/0.5338, allocations: 0.7245 MB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5339, allocations: 0 / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5339, allocations: 0 / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.5339, allocations: 0 / 1.026 GB, free: 9.242 MB / 0.7794 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.001036/0.5349, allocations: 0.7479 MB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.535, allocations: 8.031 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.535, allocations: 66.72 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1014/0.6364, allocations: 12.21 MB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.6384, allocations: 0.9246 MB / 1.04 GB, free: 11.18 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.6384, allocations: 20.94 kB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007176/0.6391, allocations: 28.38 kB / 1.04 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.6559, allocations: 3.738 MB / 1.044 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.656, allocations: 7.984 kB / 1.044 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.6564, allocations: 8 kB / 1.044 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.6564, allocations: 8 kB / 1.044 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.6716, allocations: 2.961 MB / 1.047 GB, free: 4.395 MB / 0.795 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.01504/0.6866, allocations: 17.16 MB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/0.7017, allocations: 2.934 MB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01458/0.7163, allocations: 2.792 MB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.7164, allocations: 39.95 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7165, allocations: 30.56 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.7165, allocations: 3.938 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.04566/0.7621, allocations: 8.546 MB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.7622, allocations: 59.39 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.7626, allocations: 329.7 kB / 1.078 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005057/0.7631, allocations: 37.64 kB / 1.078 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.7635, allocations: 200.3 kB / 1.078 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.7639, allocations: 78.89 kB / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/0.7654, allocations: 476.9 kB / 1.079 GB, free: 92 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7655, allocations: 342.8 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02018/0.7857, allocations: 3.9 MB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0201/0.8059, allocations: 3.931 MB / 1.086 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03375/0.8397, allocations: 6.208 MB / 1.093 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8397, allocations: 3.938 kB / 1.093 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04266/0.8824, allocations: 8.03 MB / 1.1 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8824, allocations: 4 kB / 1.1 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03812/0.9206, allocations: 7.295 MB / 1.108 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.9206, allocations: 4 kB / 1.108 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01518/0.9358, allocations: 1.916 MB / 1.109 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.9359, allocations: 3.938 kB / 1.109 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/0.9498, allocations: 1.51 MB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007945/0.9506, allocations: 203.5 kB / 1.111 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02068/0.9713, allocations: 3.989 MB / 1.115 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02048/0.9918, allocations: 3.923 MB / 1.119 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03343/1.025, allocations: 6.2 MB / 1.125 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/1.025, allocations: 3.938 kB / 1.125 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04166/1.067, allocations: 8.021 MB / 1.133 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.067, allocations: 8 kB / 1.133 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03754/1.105, allocations: 7.283 MB / 1.14 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/1.105, allocations: 0 / 1.14 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01522/1.12, allocations: 1.916 MB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/1.12, allocations: 7.984 kB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/1.134, allocations: 1.495 MB / 1.143 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007285/1.135, allocations: 203.5 kB / 1.143 GB, free: 13.59 MB / 0.9044 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.0009176/1.135, allocations: 200.1 kB / 1.144 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00056/1.136, allocations: 35.53 kB / 1.144 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/1.169, allocations: 6.695 MB / 1.15 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.169, allocations: 11.92 kB / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.169, allocations: 0 / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.169, allocations: 0 / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/1.173, allocations: 6.491 MB / 1.156 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02975/1.203, allocations: 5.637 MB / 1.162 GB, free: 9.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01256/1.216, allocations: 1.627 MB / 1.164 GB, free: 7.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/1.216, allocations: 0 / 1.164 GB, free: 7.375 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004016/1.216, allocations: 175.5 kB / 1.164 GB, free: 7.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.216, allocations: 0 / 1.164 GB, free: 7.203 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.216, allocations: 0 / 1.164 GB, free: 7.203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02918/1.245, allocations: 5.779 MB / 1.169 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/1.246, allocations: 0.5583 MB / 1.17 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/1.247, allocations: 8 kB / 1.17 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01161/1.259, allocations: 1.257 MB / 1.171 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.259, allocations: 35.92 kB / 1.171 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005063/1.259, allocations: 175.5 kB / 1.171 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003114/1.26, allocations: 243.2 kB / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.26, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002795/1.262, allocations: 0.5857 MB / 1.172 GB, free: 14.53 MB / 0.9356 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.031/1.293, allocations: 6.394 MB / 1.178 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.05257/1.346, allocations: 10.3 MB / 1.188 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.346, allocations: 0 / 1.188 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01484/1.361, allocations: 2.911 MB / 1.191 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/1.362, allocations: 81.44 kB / 1.191 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1106/1.473, allocations: 24.6 MB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/1.473, allocations: 0.7961 MB / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.01065/1.484, allocations: 1.657 MB / 1.218 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002721/1.487, allocations: 0.5919 MB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/1.487, allocations: 0 / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5166/2.003, allocations: 88.18 MB / 1.304 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/15.19, allocations: 10.64 kB / 1.304 GB, free: 190.1 MB / 0.9981 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