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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006623/0.006623, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001736/0.001736, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.647/2.647, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 71.89 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2732, allocations: 162.3 MB / 1.242 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003676/0.277, allocations: 2.847 MB / 1.245 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003646/0.2806, allocations: 2.952 MB / 1.248 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.491e-05/0.2807, allocations: 8 kB / 1.248 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2809, allocations: 67.36 kB / 1.248 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.2814, allocations: 218 kB / 1.248 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.2825, allocations: 0.615 MB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.283, allocations: 0.529 MB / 1.249 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.2833, allocations: 110.7 kB / 1.249 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.2835, allocations: 187.4 kB / 1.249 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2837, allocations: 227 kB / 1.249 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.2838, allocations: 40 kB / 1.249 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006441/0.2844, allocations: 383.7 kB / 1.25 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.2845, allocations: 95.61 kB / 1.25 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.2847, allocations: 214.9 kB / 1.25 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008511/0.2856, allocations: 0.7395 MB / 1.251 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2856, allocations: 4 kB / 1.251 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2856, allocations: 3.938 kB / 1.251 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.2856, allocations: 0 / 1.251 GB, free: 0.6133 MB / 0.9981 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.4792/0.7648, allocations: 0.7594 MB / 1.252 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.7648, allocations: 10.03 kB / 1.252 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.7649, allocations: 62.12 kB / 1.252 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09089/0.8558, allocations: 12.21 MB / 1.264 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.8576, allocations: 0.9267 MB / 1.264 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.8576, allocations: 20.97 kB / 1.265 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004069/0.858, allocations: 26.19 kB / 1.265 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.8728, allocations: 3.736 MB / 1.268 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8728, allocations: 5.578 kB / 1.268 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/0.8731, allocations: 12.52 kB / 1.268 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.8731, allocations: 9.344 kB / 1.268 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.8867, allocations: 2.965 MB / 1.271 GB, free: 12.87 MB / 0.9981 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.01103/0.8978, allocations: 17.14 MB / 1.288 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.9116, allocations: 2.938 MB / 1.291 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0135/0.9251, allocations: 2.791 MB / 1.293 GB, free: 9.613 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.961e-05/0.9252, allocations: 32.34 kB / 1.293 GB, free: 9.605 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.9252, allocations: 40.62 kB / 1.294 GB, free: 9.559 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.943e-06/0.9252, allocations: 0 / 1.294 GB, free: 9.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=22): time 0.04147/0.9667, allocations: 8.553 MB / 1.302 GB, free: 7.762 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.9668, allocations: 52.81 kB / 1.302 GB, free: 7.699 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.9671, allocations: 339.9 kB / 1.302 GB, free: 7.523 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003184/0.9675, allocations: 31.98 kB / 1.302 GB, free: 7.488 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.9677, allocations: 202.4 kB / 1.302 GB, free: 7.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.9679, allocations: 80.75 kB / 1.303 GB, free: 7.258 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.9693, allocations: 482.5 kB / 1.303 GB, free: 7.207 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.9694, allocations: 340.8 kB / 1.303 GB, free: 6.883 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01887/0.9883, allocations: 3.896 MB / 1.307 GB, free: 5.605 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01888/1.007, allocations: 3.929 MB / 1.311 GB, free: 3.945 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03147/1.039, allocations: 6.211 MB / 1.317 GB, free: 1.434 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.039, allocations: 2.406 kB / 1.317 GB, free: 1.434 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03889/1.078, allocations: 8.038 MB / 1.325 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.078, allocations: 5.031 kB / 1.325 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03472/1.112, allocations: 7.288 MB / 1.332 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.112, allocations: 1.969 kB / 1.332 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01391/1.126, allocations: 1.916 MB / 1.334 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.126, allocations: 0 / 1.334 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/1.139, allocations: 1.51 MB / 1.335 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004927/1.139, allocations: 203.5 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0193/1.159, allocations: 3.997 MB / 1.339 GB, free: 2.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.019/1.178, allocations: 3.934 MB / 1.343 GB, free: 14.55 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03199/1.21, allocations: 6.19 MB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/1.21, allocations: 4 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03962/1.249, allocations: 8.025 MB / 1.357 GB, free: 324 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.249, allocations: 7.984 kB / 1.357 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03487/1.284, allocations: 7.283 MB / 1.364 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/1.284, allocations: 0 / 1.364 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/1.298, allocations: 1.912 MB / 1.366 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/1.298, allocations: 4 kB / 1.366 GB, free: 7.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/1.31, allocations: 1.495 MB / 1.368 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004853/1.311, allocations: 203.5 kB / 1.368 GB, free: 5.406 MB / 1.061 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.0008384/1.312, allocations: 200.1 kB / 1.368 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/1.312, allocations: 39.59 kB / 1.368 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03011/1.342, allocations: 6.689 MB / 1.375 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.342, allocations: 7.984 kB / 1.375 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.342, allocations: 0.5625 kB / 1.375 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.342, allocations: 0 / 1.375 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/1.347, allocations: 6.497 MB / 1.381 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02751/1.375, allocations: 5.634 MB / 1.386 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01145/1.386, allocations: 1.628 MB / 1.388 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.386, allocations: 0 / 1.388 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/1.387, allocations: 176.9 kB / 1.388 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.387, allocations: 3.938 kB / 1.388 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.387, allocations: 0 / 1.388 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02721/1.414, allocations: 5.772 MB / 1.394 GB, free: 9.266 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000881/1.415, allocations: 0.5625 MB / 1.394 GB, free: 8.684 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/1.415, allocations: 5.688 kB / 1.394 GB, free: 8.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01043/1.426, allocations: 1.257 MB / 1.396 GB, free: 7.422 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.426, allocations: 39.91 kB / 1.396 GB, free: 7.383 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003981/1.426, allocations: 179.5 kB / 1.396 GB, free: 7.207 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002268/1.426, allocations: 239.2 kB / 1.396 GB, free: 6.977 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/1.426, allocations: 0 / 1.396 GB, free: 6.977 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002084/1.429, allocations: 0.5894 MB / 1.397 GB, free: 6.387 MB / 1.092 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.02881/1.457, allocations: 6.401 MB / 1.403 GB, free: 15.97 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.06425/1.522, allocations: 10.28 MB / 1.413 GB, free: 5.676 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.522, allocations: 0 / 1.413 GB, free: 5.676 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0139/1.536, allocations: 2.907 MB / 1.416 GB, free: 2.766 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/1.536, allocations: 81.3 kB / 1.416 GB, free: 2.684 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1231/1.66, allocations: 24.58 MB / 1.44 GB, free: 10.01 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/1.66, allocations: 0.7923 MB / 1.441 GB, free: 9.191 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.01254/1.673, allocations: 1.63 MB / 1.442 GB, free: 7.562 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004225/1.677, allocations: 0.5919 MB / 1.443 GB, free: 6.969 MB / 1.139 GB Notification: Performance of SimCode: time 5.31e-07/1.677, allocations: 0 / 1.443 GB, free: 6.969 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.754/4.431, allocations: 88.27 MB / 1.529 GB, free: 14.58 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.73/39.16, allocations: 4.734 kB / 1.529 GB, free: 14.58 MB / 1.232 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=400 --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