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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001025/0.001024, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007131/0.007132, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.541/2.541, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 7.625 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002711/0.2908, allocations: 2.522 MB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003748/0.2946, allocations: 2.921 MB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.747e-05/0.2947, allocations: 4 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.2949, allocations: 63.81 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.2953, allocations: 186.8 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2964, allocations: 0.5168 MB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.2968, allocations: 0.5095 MB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.297, allocations: 102.6 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.2972, allocations: 163.4 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.2974, allocations: 203.1 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.2975, allocations: 20 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.2981, allocations: 367.6 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.2981, allocations: 75.67 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.2983, allocations: 224.6 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007088/0.299, allocations: 0.6932 MB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2991, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2991, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2991, allocations: 0 / 1.067 GB, free: 12.31 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.0008596/0.2999, allocations: 0.6778 MB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3, allocations: 15.97 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.178e-05/0.3001, allocations: 66.66 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09483/0.3949, allocations: 10.59 MB / 1.078 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.3966, allocations: 0.9324 MB / 1.079 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.3966, allocations: 24.92 kB / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005079/0.3972, allocations: 28.31 kB / 1.079 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.4123, allocations: 3.57 MB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4123, allocations: 0 / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.4126, allocations: 12 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.4127, allocations: 4 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.4268, allocations: 2.797 MB / 1.085 GB, free: 9.469 MB / 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.01353/0.4404, allocations: 17.16 MB / 1.102 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/0.4543, allocations: 2.766 MB / 1.105 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01377/0.4681, allocations: 2.624 MB / 1.107 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.263e-05/0.4682, allocations: 31.98 kB / 1.107 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.4682, allocations: 30.56 kB / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.724e-06/0.4683, allocations: 0 / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04266/0.5109, allocations: 8.036 MB / 1.115 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.511, allocations: 55.41 kB / 1.115 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.5114, allocations: 341.7 kB / 1.116 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004636/0.5118, allocations: 29.7 kB / 1.116 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.5121, allocations: 204.4 kB / 1.116 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.5124, allocations: 74.94 kB / 1.116 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/0.5129, allocations: 37.64 kB / 1.116 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.513, allocations: 338.8 kB / 1.116 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0202/0.5332, allocations: 3.645 MB / 1.12 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02052/0.5538, allocations: 3.681 MB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0325/0.5863, allocations: 5.784 MB / 1.129 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5864, allocations: 3.938 kB / 1.129 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04137/0.6278, allocations: 7.546 MB / 1.137 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.024e-05/0.6279, allocations: 92.98 kB / 1.137 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03671/0.6646, allocations: 6.85 MB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6646, allocations: 4 kB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0146/0.6792, allocations: 1.693 MB / 1.145 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6792, allocations: 4 kB / 1.145 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/0.6923, allocations: 1.288 MB / 1.146 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005858/0.6929, allocations: 203.5 kB / 1.146 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.693, allocations: 7.938 kB / 1.146 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03907/0.732, allocations: 7.466 MB / 1.154 GB, free: 15.78 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03459/0.7666, allocations: 6.838 MB / 1.16 GB, free: 8.934 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.7667, allocations: 0 / 1.16 GB, free: 8.934 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/0.7804, allocations: 1.689 MB / 1.162 GB, free: 7.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.7804, allocations: 4 kB / 1.162 GB, free: 7.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/0.7928, allocations: 1.284 MB / 1.163 GB, free: 5.953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005788/0.7934, allocations: 207.5 kB / 1.164 GB, free: 5.75 MB / 0.92 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.00106/0.7945, allocations: 229 kB / 1.164 GB, free: 5.516 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.7949, allocations: 43.45 kB / 1.164 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03187/0.8267, allocations: 6.353 MB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.8268, allocations: 4 kB / 1.17 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8268, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.8268, allocations: 3.938 kB / 1.17 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/0.8317, allocations: 6.48 MB / 1.176 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02813/0.8599, allocations: 5.29 MB / 1.181 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01187/0.8718, allocations: 1.455 MB / 1.183 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.8718, allocations: 0 / 1.183 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003561/0.8722, allocations: 171.5 kB / 1.183 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.8722, allocations: 8 kB / 1.183 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8722, allocations: 0 / 1.183 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02775/0.9, allocations: 5.432 MB / 1.188 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009356/0.9009, allocations: 0.5661 MB / 1.189 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/0.9013, allocations: 8 kB / 1.189 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/0.9122, allocations: 1.077 MB / 1.19 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.9124, allocations: 35.91 kB / 1.19 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/0.9128, allocations: 179.5 kB / 1.19 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002583/0.913, allocations: 239.2 kB / 1.19 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.913, allocations: 0 / 1.19 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00259/0.9156, allocations: 0.5934 MB / 1.191 GB, free: 8.027 MB / 0.9512 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.02935/0.945, allocations: 6.043 MB / 1.197 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.05012/0.9951, allocations: 9.68 MB / 1.206 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9952, allocations: 0 / 1.206 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.01423/1.009, allocations: 2.739 MB / 1.209 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/1.011, allocations: 79.98 kB / 1.209 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1103/1.121, allocations: 23.46 MB / 1.232 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/1.121, allocations: 0.7961 MB / 1.233 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01134/1.133, allocations: 1.646 MB / 1.234 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/1.136, allocations: 0.5919 MB / 1.235 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/1.136, allocations: 0 / 1.235 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.415/4.551, allocations: 83.51 MB / 1.317 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/4.551, allocations: 220.4 kB / 1.317 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/12.39, allocations: 0 / 1.317 GB, free: 143.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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