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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008284/0.0008286, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005002/0.005002, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.59/1.59, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 3.2/3.2, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002766, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5102, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002137/0.5124, allocations: 2.505 MB / 0.9576 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.5151, allocations: 2.913 MB / 0.9605 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.5152, allocations: 8.062 kB / 0.9605 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.5153, allocations: 59.61 kB / 0.9605 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.5157, allocations: 189.5 kB / 0.9607 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.5164, allocations: 0.519 MB / 0.9612 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.5169, allocations: 0.4997 MB / 0.9617 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.517, allocations: 104 kB / 0.9618 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.5172, allocations: 164.1 kB / 0.962 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.5173, allocations: 197.2 kB / 0.9622 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.5174, allocations: 20.31 kB / 0.9622 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.5179, allocations: 369.7 kB / 0.9625 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.518, allocations: 84.05 kB / 0.9626 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.5181, allocations: 223.1 kB / 0.9628 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005918/0.5187, allocations: 0.6964 MB / 0.9635 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5187, allocations: 1.312 kB / 0.9635 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5187, allocations: 0 / 0.9635 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.5188, allocations: 0 / 0.9635 GB, free: 1.449 MB / 0.7169 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.0007346/0.5195, allocations: 0.678 MB / 0.9642 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.5195, allocations: 10.41 kB / 0.9642 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.5196, allocations: 62.31 kB / 0.9642 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09108/0.6107, allocations: 10.59 MB / 0.9746 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.612, allocations: 0.9247 MB / 0.9755 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.6121, allocations: 28.88 kB / 0.9755 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004806/0.6126, allocations: 24.38 kB / 0.9755 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.6265, allocations: 3.562 MB / 0.979 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.6265, allocations: 0 / 0.979 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.6268, allocations: 11.98 kB / 0.979 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6268, allocations: 11.94 kB / 0.979 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.6395, allocations: 2.801 MB / 0.9818 GB, free: 3.934 MB / 0.7325 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.01133/0.6509, allocations: 17.16 MB / 0.9985 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/0.6639, allocations: 2.764 MB / 1.001 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01285/0.6768, allocations: 2.62 MB / 1.004 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/0.6769, allocations: 35.97 kB / 1.004 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.6769, allocations: 34.56 kB / 1.004 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.6769, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.0395/0.7164, allocations: 8.047 MB / 1.012 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.7164, allocations: 51.41 kB / 1.012 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.7167, allocations: 337.7 kB / 1.012 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003358/0.7171, allocations: 33.7 kB / 1.012 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.7173, allocations: 196.3 kB / 1.012 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.7175, allocations: 78.89 kB / 1.012 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003863/0.7179, allocations: 33.7 kB / 1.012 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.718, allocations: 346.8 kB / 1.013 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01812/0.7362, allocations: 3.634 MB / 1.016 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01804/0.7542, allocations: 3.688 MB / 1.02 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02994/0.7842, allocations: 5.786 MB / 1.026 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.7842, allocations: 11.94 kB / 1.026 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03618/0.8204, allocations: 7.519 MB / 1.033 GB, free: 11.89 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.8204, allocations: 108.7 kB / 1.033 GB, free: 11.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03266/0.8531, allocations: 6.85 MB / 1.04 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8531, allocations: 0 / 1.04 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0131/0.8662, allocations: 1.697 MB / 1.041 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.8662, allocations: 8 kB / 1.041 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/0.8782, allocations: 1.287 MB / 1.043 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000409/0.8786, allocations: 207.5 kB / 1.043 GB, free: 1.723 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.8786, allocations: 11.88 kB / 1.043 GB, free: 1.711 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03645/0.9151, allocations: 7.47 MB / 1.05 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03246/0.9476, allocations: 6.842 MB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/0.9476, allocations: 4 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01286/0.9605, allocations: 1.693 MB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.9605, allocations: 0 / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/0.9722, allocations: 1.28 MB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003938/0.9726, allocations: 203.5 kB / 1.06 GB, free: 212 kB / 0.8106 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.0006774/0.9733, allocations: 229 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.9736, allocations: 35.47 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02866/1.002, allocations: 6.347 MB / 1.066 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.002, allocations: 8 kB / 1.066 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/1.002, allocations: 0 / 1.066 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.002, allocations: 4 kB / 1.066 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/1.006, allocations: 6.484 MB / 1.073 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0253/1.032, allocations: 5.29 MB / 1.078 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01074/1.042, allocations: 1.447 MB / 1.079 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.042, allocations: 4 kB / 1.079 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/1.043, allocations: 171.5 kB / 1.079 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.043, allocations: 0 / 1.079 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.043, allocations: 4 kB / 1.079 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02558/1.068, allocations: 5.432 MB / 1.085 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/1.069, allocations: 0.5738 MB / 1.085 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/1.069, allocations: 4 kB / 1.085 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01049/1.08, allocations: 1.085 MB / 1.086 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.08, allocations: 43.91 kB / 1.086 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/1.08, allocations: 175.5 kB / 1.087 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001872/1.08, allocations: 239.2 kB / 1.087 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.08, allocations: 0 / 1.087 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002055/1.083, allocations: 0.5895 MB / 1.087 GB, free: 2.488 MB / 0.8419 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.02702/1.11, allocations: 6.039 MB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.04639/1.156, allocations: 9.671 MB / 1.103 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.156, allocations: 0 / 1.103 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01303/1.169, allocations: 2.739 MB / 1.105 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/1.17, allocations: 86.55 kB / 1.105 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09747/1.267, allocations: 23.47 MB / 1.128 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/1.268, allocations: 0.7962 MB / 1.129 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00884/1.276, allocations: 1.646 MB / 1.131 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002407/1.279, allocations: 0.5919 MB / 1.131 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/1.279, allocations: 0 / 1.131 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.13/4.409, allocations: 83.51 MB / 1.213 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/4.409, allocations: 218.4 kB / 1.213 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.779/13.19, allocations: 3.938 kB / 1.213 GB, free: 1.41 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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